Add a trailing /....

And put proxyPass in the right place?
This commit is contained in:
niten 2024-01-17 22:59:15 -08:00
parent bca56e3d46
commit a170658516
1 changed files with 2 additions and 2 deletions

View File

@ -138,13 +138,13 @@ in {
services.nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts."${cfg.hostname}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:${toString cfg.port}";
proxyPass = "http://localhost:${toString cfg.port}/";
proxyWebsockets = true;
recommendedProxySettings = true;
};
};
};