summaryrefslogtreecommitdiff
path: root/Run/Que/service.nix
diff options
context:
space:
mode:
Diffstat (limited to 'Run/Que/service.nix')
-rw-r--r--Run/Que/service.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/Run/Que/service.nix b/Run/Que/service.nix
index b9f5c19..1d82bd6 100644
--- a/Run/Que/service.nix
+++ b/Run/Que/service.nix
@@ -60,6 +60,10 @@ in
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:${toString cfg.port}";
+ extraConfig = ''
+ # forward the headers so the `guardIP` function works properly
+ proxy_pass_request_headers on;
+ '';
};
};
};