2016-03-10 12:20 GMT-06:00 Amelia Ireland <[email protected]>:
> The nginx documentation has plenty of information on how to serve static
> files directly:
>
> https://www.nginx.com/resources/admin-guide/serving-static-content/
>
>
I am currently studing them but am not quite fully understanding how things
work. Specifically I don't understand how the vairables below -- such as
http_host, $remote_addr, etc -- get defined.
server {
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:5000;
}
}
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users