diff options
author | sils <sils@sils.li> | 2023-12-12 22:22:28 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-12-12 22:22:28 +0100 |
commit | 702f22264a5f19ffd53d17de2d8606d2dd96a9c7 (patch) | |
tree | 56a64f6318f1e2e5351c103610f9170ad0fa9301 /system/services/nginx/default.nix | |
parent | refactor(system/services/etebase): explain outcommented static files (diff) | |
parent | fix(system/services/nginx/redirects): Enable ssl for the domains (diff) | |
download | nixos-server-702f22264a5f19ffd53d17de2d8606d2dd96a9c7.tar.gz nixos-server-702f22264a5f19ffd53d17de2d8606d2dd96a9c7.zip |
chore(merge): branch 'redirect'
Diffstat (limited to 'system/services/nginx/default.nix')
-rw-r--r-- | system/services/nginx/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix index cc633ed..3a0496d 100644 --- a/system/services/nginx/default.nix +++ b/system/services/nginx/default.nix @@ -7,8 +7,8 @@ }: { name = key; value = { - forceSSL = false; - enableACME = false; + forceSSL = true; + enableACME = true; locations."/".return = "301 ${value}"; }; }; |