Nginx 19.09 Changes.

This commit is contained in:
Kevin Baensch 2019-10-06 18:30:47 +02:00
parent 2798015ec8
commit ce2c259059
4 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ with lib;
extraConfig = ''
location / {
proxy_pass http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port};
proxy_set_header Host $http_host;
proxy_set_header Host $host;
proxy_set_header REMOTE_ADDR $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;