[dancer-users] Dancer and HTML5 video

Richard Reina gatorreina at gmail.com
Thu Mar 10 18:32:16 GMT 2016


2016-03-10 12:20 GMT-06:00 Amelia Ireland <aireland at lbl.gov>:

> 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;
    }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20160310/e0a976ad/attachment.html>


More information about the dancer-users mailing list