boring-nginx: update Dockerfile, optimisations

This commit is contained in:
Wonderfall
2017-08-08 04:54:27 +02:00
parent d39cd31854
commit 54982bdc04
10 changed files with 44 additions and 26 deletions

View File

@ -0,0 +1,6 @@
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Remote-Port $remote_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;