style: remove redundancy in nginx config template

This commit is contained in:
wi11-holdsworth 2025-09-29 22:45:18 +10:00
parent 95f9e00bb1
commit c87148b911

View file

@ -16,14 +16,12 @@ in
}; };
# reverse proxy # reverse proxy
nginx = { nginx.virtualHosts."${feature}.fi33.buzz" = {
virtualHosts."${feature}.fi33.buzz" = { forceSSL = true;
forceSSL = true; useACMEHost = "fi33.buzz";
useACMEHost = "fi33.buzz"; locations."/" = {
locations."/" = { proxyPass = "http://localhost:${port}";
proxyPass = "http://localhost:${port}"; # proxyWebsockets = true;
# proxyWebsockets = true;
};
}; };
}; };
}; };