ingress-proxy: add keysmash

This commit is contained in:
41666 2024-01-06 16:01:09 -05:00
parent 388ec5096a
commit 4f97b182eb

View file

@ -21,6 +21,7 @@ in {
upstreams = {
mango.servers."${tsHost "mango" 6167}" = {};
hsb.servers."${tsHost "happystaticbuzz" 8080}" = {};
ks.servers."${tsHost "keysmash" 8080}" = {};
};
virtualHosts = let
@ -72,17 +73,23 @@ in {
locations."/" = {
proxyPass = "http://hsb";
proxyWebsockets = true;
#extraConfig = ''
# proxy_set_header Host "happ.ystatic.buzz";
# proxy_set_header X-Forwarded-For $remote_addr;
# proxy_set_header X-Forwarded-Proto $scheme;
#'';
};
extraConfig = ''
client_max_body_size 40M;
'';
};
"keysmash.xn--q9jyb4c" = defaultConfig // {
locations."/" = {
proxyPass = "http://ks";
proxyWebsockets = true;
};
extraConfig = ''
client_max_body_size 40M;
'';
};
"mekanoe.com" = static {
url = "https://codeberg.org/noe/personal-site.git";
rev = "8601d3a426bc07c715f265b2132b384c21397533";