rpi4: proxy create track map

This commit is contained in:
NullBite 2024-07-15 12:37:42 -04:00
parent 7e1c208c96
commit 303f515a1d
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -193,6 +193,29 @@
"kuma.protogen.io".locations."/".return = "301 https://uptime.protogen.io"; "kuma.protogen.io".locations."/".return = "301 https://uptime.protogen.io";
"vsc-hass.protogen.io" = mkReverseProxy 1881; "vsc-hass.protogen.io" = mkReverseProxy 1881;
"trackmap.protogen.io" = let
root = pkgs.modpacks.notlite-ctm-static;
in {
useACMEHost = "protogen.io";
authelia.instance = "main";
authelia.endpointURL = "https://auth.protogen.io";
locations."/" = {
inherit root;
extraConfig = ''
autoindex off;
'';
};
locations."/api/" = {
proxyPass = "http://10.10.0.3:3876";
proxyWebsockets = true;
extraConfig = ''
chunked_transfer_encoding off;
proxy_buffering off;
proxy_cache off;
'';
};
};
"localhost" = { "localhost" = {
default = true; default = true;