surgat: hydra proxy-pass

This commit is contained in:
Tim Schubert 2021-01-02 17:55:25 +01:00
parent c3bdc36fc3
commit e3a797a98f
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 10 additions and 1 deletions

View file

@ -10,7 +10,7 @@ in
services.hydra = { services.hydra = {
enable = true; enable = true;
hydraURL = "hydra.dadada.li"; hydraURL = "http://hydra.dadada.li/";
notificationSender = "hydra@localhost"; notificationSender = "hydra@localhost";
buildMachinesFiles = [ ]; buildMachinesFiles = [ ];
useSubstitutes = true; useSubstitutes = true;

View file

@ -18,6 +18,15 @@ in
''; '';
}; };
services.nginx.virtualHosts."hydra.${config.networking.domain}" = {
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
proxy_pass http://[fcde:ad:1]:3000;
'';
};
dadada.admin = { dadada.admin = {
enable = true; enable = true;
users = { users = {