1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-31 13:07:46 +00:00

Use proper proxy settings

This commit is contained in:
RGBCube 2024-01-11 20:14:09 +03:00
parent 94916c52a4
commit 67e7b7db27
No known key found for this signature in database

View file

@ -175,13 +175,8 @@
forceSSL = true;
useACMEHost = cfg.url;
locations."/".extraConfig = ''
proxy_pass http://localhost:${toString cfg.port}/404;
'';
locations."/assets".extraConfig = ''
proxy_pass http://localhost:${toString cfg.port}/assets;
'';
locations."/".proxyPass = "http://localhost:${toString cfg.port}/404";
locations."/assets".proxyPass = "http://localhost:${toString cfg.port}/assets";
};
};