summary refs log tree commit diff
path: root/modules/tunnel
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tunnel')
-rw-r--r--modules/tunnel/egress.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/tunnel/egress.nix b/modules/tunnel/egress.nix
index 55946ce..228a06a 100644
--- a/modules/tunnel/egress.nix
+++ b/modules/tunnel/egress.nix
@@ -136,6 +136,9 @@ in
     settingsFile = "/run/xray-configuration/xray.json";
   };
 
+  # don't unwrap cloudflare addresses
+  foundation.www.behindCloudflare = false;
+
   services.nginx = {
     defaultListen = [
       { addr = "127.0.0.1"; port = nginxPort; ssl = true; proxyProtocol = true; }