summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-03-07 06:16:43 -0600
committerMarc Coquand <marc@mccd.space>2024-03-07 06:16:43 -0600
commit6aa6e6740580412de486e041347c0636e660b156 (patch)
tree647d961746f1e78f0d89d95c0a872019aa9555fb
parent257dcff2d54fe1e551507bf9b6994e9cc7815203 (diff)
downloadnixos-6aa6e6740580412de486e041347c0636e660b156.tar.gz
nixos-6aa6e6740580412de486e041347c0636e660b156.tar.bz2
nixos-6aa6e6740580412de486e041347c0636e660b156.zip
Orsus: forceSSL
-rw-r--r--configuration.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/configuration.nix b/configuration.nix
index 883cc28..a919c53 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -151,7 +151,7 @@ in {
virtualHosts."orsus.site" = {
enableACME = true;
- addSSL = true;
+ forceSSL = true;
locations."~* .(?:css|js|woff2|svg)$".extraConfig = ''
expires 1y;
add_header Cache-Control "public";