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 = {
|
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;
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue