Fix home host
This commit is contained in:
parent
50d30e9c1d
commit
4001d990c3
1 changed files with 9 additions and 2 deletions
|
@ -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;";
|
||||||
|
|
Loading…
Reference in a new issue