Added X-Forwarded-Proto to nginx config (closes #884)

This commit is contained in:
Arik Fraimovich
2016-03-11 23:19:28 +02:00
parent cd5aec2b63
commit 27feb676b2

View File

@@ -15,6 +15,7 @@ server {
proxy_set_header Host $http_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;
proxy_pass http://rd_servers;
}
}
}