mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
Bind to ::1 instead of localhost
This commit is contained in:
parent
67e7b7db27
commit
97eb3e5d25
1 changed files with 3 additions and 3 deletions
|
@ -159,7 +159,7 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = cfg.url;
|
useACMEHost = cfg.url;
|
||||||
|
|
||||||
locations."/".proxyPass = "http://localhost:${toString cfg.port}";
|
locations."/".proxyPass = "http://[::1]:${toString cfg.port}";
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualHosts."www.${cfg.url}" = {
|
virtualHosts."www.${cfg.url}" = {
|
||||||
|
@ -175,8 +175,8 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = cfg.url;
|
useACMEHost = cfg.url;
|
||||||
|
|
||||||
locations."/".proxyPass = "http://localhost:${toString cfg.port}/404";
|
locations."/".proxyPass = "http://[::1]:${toString cfg.port}/404";
|
||||||
locations."/assets".proxyPass = "http://localhost:${toString cfg.port}/assets";
|
locations."/assets".proxyPass = "http://[::1]:${toString cfg.port}/assets";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue