summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/kay/modules/www.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/kay/modules/www.nix b/hosts/kay/modules/www.nix
index f8b3611..cae862a 100644
--- a/hosts/kay/modules/www.nix
+++ b/hosts/kay/modules/www.nix
@@ -71,6 +71,13 @@ in
locations."= /".return = "307 https://www.${domain}";
};
+ "static.${domain}" = {
+ forceSSL = true;
+ enableACME = true;
+ root = "${storage}/static";
+
+ locations."= /".return = "301 https://www.${domain}";
+ };
"${fscusat}" = {
forceSSL = true;
enableACME = true;