mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
Use proper proxy settings
This commit is contained in:
parent
94916c52a4
commit
67e7b7db27
1 changed files with 2 additions and 7 deletions
|
@ -175,13 +175,8 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = cfg.url;
|
useACMEHost = cfg.url;
|
||||||
|
|
||||||
locations."/".extraConfig = ''
|
locations."/".proxyPass = "http://localhost:${toString cfg.port}/404";
|
||||||
proxy_pass http://localhost:${toString cfg.port}/404;
|
locations."/assets".proxyPass = "http://localhost:${toString cfg.port}/assets";
|
||||||
'';
|
|
||||||
|
|
||||||
locations."/assets".extraConfig = ''
|
|
||||||
proxy_pass http://localhost:${toString cfg.port}/assets;
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue