surgat: hydra proxy-pass
This commit is contained in:
parent
c3bdc36fc3
commit
e3a797a98f
2 changed files with 10 additions and 1 deletions
|
@ -10,7 +10,7 @@ in
|
|||
|
||||
services.hydra = {
|
||||
enable = true;
|
||||
hydraURL = "hydra.dadada.li";
|
||||
hydraURL = "http://hydra.dadada.li/";
|
||||
notificationSender = "hydra@localhost";
|
||||
buildMachinesFiles = [ ];
|
||||
useSubstitutes = true;
|
||||
|
|
|
@ -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 = {
|
||||
enable = true;
|
||||
users = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue