1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-01 13:37:49 +00:00

Force SSL and enable ACME

This commit is contained in:
RGBCube 2024-01-10 10:21:20 +03:00
parent b7db8421fb
commit ece0da0f65
No known key found for this signature in database

View file

@ -149,7 +149,12 @@
recommendedProxySettings = mkDefault true;
recommendedTlsSettings = mkDefault true;
virtualHosts.${urlStripped}.proxyPass = "http://127.0.0.1:${cfg.port}";
virtualHosts.${urlStripped} = {
enableACME = true;
forceSSL = true;
proxyPass = "http://127.0.0.1:${cfg.port}";
};
};
systemd.services.site = {