Update gitea service config + configure for sops.

This commit is contained in:
Kevin Baensch 2023-09-10 15:28:26 +02:00
parent 9d78b39bd0
commit 08c9606679
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 8 additions and 17 deletions

View file

@ -12,7 +12,7 @@ with lib;
location @node {
client_max_body_size 0;
proxy_pass http://${config.services.gitea.httpAddress}:${toString config.services.gitea.httpPort};
proxy_pass http://${config.services.gitea.settings.server.HTTP_ADDR}:${toString config.services.gitea.settings.server.HTTP_PORT};
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;