1
0
Fork 0

Fix home host

This commit is contained in:
Malte Brandy 2021-12-05 07:23:41 +01:00
parent 50d30e9c1d
commit 4001d990c3

View file

@ -141,8 +141,15 @@ in
enable = true; enable = true;
virtualHosts = { virtualHosts = {
"home.lo.m-0.eu" = { "home.lo.m-0.eu" = {
locations."/".proxyPass = extraConfig = ''
proxy_buffering off;
'';
locations."/" = {
proxyPass =
"http://[::1]:8123"; "http://[::1]:8123";
proxyWebsockets = true;
};
}; };
"fluffy.lo.m-0.eu" = { "fluffy.lo.m-0.eu" = {
locations."/".extraConfig = "return 301 http://home.lo.m-0.eu$request_uri;"; locations."/".extraConfig = "return 301 http://home.lo.m-0.eu$request_uri;";