diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-02-17 18:31:41 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-02-17 21:24:02 +0530 |
commit | bf12a289b2e4c8f22d1be781408a6d1273fd3b04 (patch) | |
tree | 6bf2eb88598db2d47119247d92be7bfb7b688b48 /hosts/fscusat/modules/www.nix | |
parent | 60ed7bde534f23be9e3ee5429f72cf63ac8bfff2 (diff) |
fscusat/modules/mirror: init
Diffstat (limited to 'hosts/fscusat/modules/www.nix')
-rw-r--r-- | hosts/fscusat/modules/www.nix | 5 |
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/;"; }; }; } |