[fanny] fix hydra proxy
Check flake syntax / flake-check (push) Successful in 19m36s
Hydra callback / on_pr (push) Skipped
Hydra callback / on_push (push) Skipped

This commit is contained in:
2026-09-04 18:12:55 +02:00
parent f2deba5153
commit 426394ff22
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -33,6 +33,8 @@
binary_cache_secret_key_file = /etc/nix/albert/secret
binary_cache_dir = /var/lib/hydra/cache
Include ${config.sops.secrets.gitea_token.path}
using_frontend_proxy 1
base_uri hydra.malobeo.org
'';
};
+3
View File
@@ -304,8 +304,11 @@ in
enableACME = true;
locations."/" = {
proxyPass = "http://${hosts.malobeo.hosts.albert.network.address}:3000";
recommendedProxySettings = true;
extraConfig = ''
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-Proto https;
'';
};
};