nginx-sid/debian/conf/proxy_params
Christos Trochalakis fa8ea785db Pass X-Forwarded-Proto header when proxying
X-Forwarded-Proto header is a de facto standard for identifying the
originating protocol of an HTTP request.
2013-12-24 22:01:14 +02:00

4 lines
180 B
Text

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;