summaryrefslogtreecommitdiff
path: root/hosts/fscusat/modules/www.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/fscusat/modules/www.nix')
-rw-r--r--hosts/fscusat/modules/www.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/hosts/fscusat/modules/www.nix b/hosts/fscusat/modules/www.nix
index 464aaa6..24398da 100644
--- a/hosts/fscusat/modules/www.nix
+++ b/hosts/fscusat/modules/www.nix
@@ -30,10 +30,7 @@ in
sslCertificateKey = config.sops.secrets."cusat.ac.in/key".path;
sslCertificate = config.sops.secrets."cusat.ac.in/crt".path;
- locations."/" = {
- return = "200 '<h1>under construction</h1>'";
- extraConfig = "add_header Content-Type text/html;";
- };
+ locations."/".extraConfig = "return 307 $scheme://$host/mirror/;";
};
};
}