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;
|
||||
virtualHosts = let
|
||||
mainWebsite = {
|
||||
addSSL = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = "${hydraWwwOutputs}/web";
|
||||
extraConfig = ''
|
||||
|
|
Loading…
Reference in New Issue