Commit b76e41695f1c
Changed files (2)
systems
hosts
systems/hosts/kerkouane.nix
@@ -189,6 +189,17 @@ in
'';
};
};
+ virtualHosts."webhook.sbr.pm" = {
+ enableACME = true;
+ forceSSL = true;
+ locations."/" = {
+ proxyPass = "http://10.100.0.8:80";
+ extraConfig = ''
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-For $remote_addr;
+ '';
+ };
+ };
virtualHosts."sbr.pm" = {
enableACME = true;
forceSSL = true;
systems/hosts/wakasu.nix
@@ -100,8 +100,6 @@ in
recommendedTlsSettings = true;
recommendedOptimisation = true;
virtualHosts."whoami.sbr.pm" = {
- enableACME = true;
- forceSSL = true;
locations."/" = {
proxyPass = "http://192.168.1.187:80";
extraConfig = ''
@@ -110,6 +108,16 @@ in
'';
};
};
+ virtualHosts."webhook.sbr.pm" = {
+ # listen = [{ port = 8080; }];
+ locations."/" = {
+ proxyPass = "http://192.168.1.188:8080";
+ extraConfig = ''
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-For $remote_addr;
+ '';
+ };
+ };
};
};