use forgejo in local system config

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-09 18:36:46 -05:00
parent 58348b3c83
commit af6af71f5c
15 changed files with 65 additions and 317 deletions

View file

@ -45,11 +45,15 @@ in
};
services.nginx.virtualHosts."sso-proxy.joshuabell.xyz" = {
# enableACME = true;
# forceSSL = true;
locations = {
"/" = {
proxyWebsockets = true;
recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:4180";
extraConfig = ''
proxy_set_header X-Forwarded-Proto https;
'';
};
};
};