Fixup
This commit is contained in:
parent
354d04c838
commit
92920ebabd
2 changed files with 9 additions and 6 deletions
|
@ -13,8 +13,7 @@ in
|
|||
|
||||
services.hydra = {
|
||||
enable = true;
|
||||
hydraURL = "hydra.dadada.li";
|
||||
package = pkgs.hydra-unstable;
|
||||
hydraURL = "https://hydra.dadada.li";
|
||||
notificationSender = "hydra@localhost";
|
||||
buildMachinesFiles = [ ];
|
||||
useSubstitutes = true;
|
||||
|
|
|
@ -22,12 +22,16 @@ in
|
|||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
root = "${pkgs.nginx}/html";
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
proxy_pass http://10.3.3.3:3000;
|
||||
proxy_redirect http://10.3.3.3:3000 https://hydra.dadada.li;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_redirect http://10.3.3.3:3000 https://hydra.dadada.li;
|
||||
proxy_redirect https://10.3.3.3:3000 https://hydra.dadada.li;
|
||||
proxy_pass http://10.3.3.3:3000;
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue