System Gen50 @ 2026-09-03-15:07:04 by jonas@harbor

This commit is contained in:
2026-09-03 15:07:09 +02:00
parent b4099655d6
commit c0b411d8ed
+7
View File
@@ -61,6 +61,13 @@
enableACME = true; enableACME = true;
locations."/" = { locations."/" = {
proxyPass = "http://unix:/run/gitea/gitea.sock"; proxyPass = "http://unix:/run/gitea/gitea.sock";
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;
proxy_set_header X-Forwarded-Host $host;
'';
}; };
}; };