docs(readme): update nginx example

This commit is contained in:
orhun 2021-07-27 16:16:31 +03:00
parent cb95016d5e
commit 466a87b8d2
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -106,6 +106,7 @@ server {
proxy_pass http://localhost:8000/; proxy_pass http://localhost:8000/;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";
add_header X-Frame-Options "sameorigin"; add_header X-Frame-Options "sameorigin";
add_header X-Content-Type-Options "nosniff"; add_header X-Content-Type-Options "nosniff";