ingress-proxy: add happ.ystatic.buzz
This commit is contained in:
parent
0790674a5f
commit
c63b6851b3
1 changed files with 20 additions and 0 deletions
|
@ -20,6 +20,7 @@ in {
|
||||||
|
|
||||||
upstreams = {
|
upstreams = {
|
||||||
mango.servers."${tsHost "mango" 6167}" = {};
|
mango.servers."${tsHost "mango" 6167}" = {};
|
||||||
|
hsb.servers."${tsHost "hsb" 8080}" = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualHosts = {
|
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.
|
# Generic store for /.well-known/ paths.
|
||||||
"well-known.sapphic.engineer" = {
|
"well-known.sapphic.engineer" = {
|
||||||
#serverAliases = [ "sapphic.engineer" ];
|
#serverAliases = [ "sapphic.engineer" ];
|
||||||
|
|
Loading…
Add table
Reference in a new issue