Add extra headers to Nginx (#303)

This commit is contained in:
Daniel García 2018-12-17 19:29:07 +01:00 committed by GitHub
parent 371017b547
commit 1f4edb38e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,10 @@ server {
location / {
proxy_pass http://<SERVER>:80;
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-Forwarded-Proto $scheme;
}
location /notifications/hub {