rpi4: proxy create track map
This commit is contained in:
parent
7e1c208c96
commit
303f515a1d
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user