Force SSL for main website instead of optional SSL
https://nixos.wiki/wiki/Nginx Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
22583c7f8e
commit
10da6a0cbb
|
@ -781,7 +781,7 @@ in
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
virtualHosts = let
|
virtualHosts = let
|
||||||
mainWebsite = {
|
mainWebsite = {
|
||||||
addSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
root = "${hydraWwwOutputs}/web";
|
root = "${hydraWwwOutputs}/web";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Reference in New Issue