From f865ece33bd13dd6e78d9adfca12139dd2269987 Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Sun, 9 Nov 2025 16:36:25 +0100 Subject: [PATCH] feat: proxy it all blyat --- hosts/hitsugibune/llm.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/hitsugibune/llm.nix b/hosts/hitsugibune/llm.nix index b0e3d70..df55d0c 100644 --- a/hosts/hitsugibune/llm.nix +++ b/hosts/hitsugibune/llm.nix @@ -19,6 +19,12 @@ locations."/" = { proxyPass = "http://127.0.0.1:8080"; proxyWebsockets = true; + extraConfig = '' + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + ''; }; }; };