ingress-proxy: add happ.ystatic.buzz

This commit is contained in:
41666 2023-12-30 17:55:58 -05:00
parent 0790674a5f
commit c63b6851b3

View file

@ -20,6 +20,7 @@ in {
upstreams = {
mango.servers."${tsHost "mango" 6167}" = {};
hsb.servers."${tsHost "hsb" 8080}" = {};
};
virtualHosts = {
@ -50,6 +51,25 @@ in {
'';
};
"happ.ystatic.buzz" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxy_pass = "http://hsb";
extraConfig = ''
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme
'';
};
extraConfig = ''
client_max_body_size 40M;
'';
};
# Generic store for /.well-known/ paths.
"well-known.sapphic.engineer" = {
#serverAliases = [ "sapphic.engineer" ];