diff options
Diffstat (limited to 'hosts/laurel')
-rw-r--r-- | hosts/laurel/configuration.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hosts/laurel/configuration.nix b/hosts/laurel/configuration.nix index 8dce03f..74e2948 100644 --- a/hosts/laurel/configuration.nix +++ b/hosts/laurel/configuration.nix | |||
@@ -93,9 +93,8 @@ | |||
93 | proxyPass = "http://127.0.0.1:${builtins.toString config.services.invidious.port}"; | 93 | proxyPass = "http://127.0.0.1:${builtins.toString config.services.invidious.port}"; |
94 | proxyWebsockets = true; | 94 | proxyWebsockets = true; |
95 | extraConfig = '' | 95 | extraConfig = '' |
96 | proxySetHeader X-Forwarded-For $remote_addr; | 96 | proxy_set_header X-Forwarded-For $remote_addr; |
97 | proxy_set_header Host $host; # so Invidious knows domain | 97 | proxy_set_header Host $host; # so Invidious knows domain |
98 | proxy_http_version 1.1; # to keep alive | ||
99 | proxy_set_header Connection ""; # to keep alive | 98 | proxy_set_header Connection ""; # to keep alive |
100 | ''; | 99 | ''; |
101 | }; | 100 | }; |