ingress-proxy: add keysmash
This commit is contained in:
parent
388ec5096a
commit
4f97b182eb
1 changed files with 12 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue