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:
parent
b7db8421fb
commit
ece0da0f65
1 changed files with 6 additions and 1 deletions
|
@ -149,7 +149,12 @@
|
||||||
recommendedProxySettings = mkDefault true;
|
recommendedProxySettings = mkDefault true;
|
||||||
recommendedTlsSettings = 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 = {
|
systemd.services.site = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue