summary refs log tree commit diff stats
path: root/system/services/redirects/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-14 16:18:32 +0200
committerSoispha <soispha@vhack.eu>2023-10-14 16:34:14 +0200
commitc77d2f4dbab0a30f2db60bf56501af6b7060085d (patch)
tree259dcc27c7ec0e9dac0072072ab0a93a8aecebb1 /system/services/redirects/default.nix
parentfix(system/services/redirects): disable ssl (diff)
downloadnixos-server-c77d2f4dbab0a30f2db60bf56501af6b7060085d.zip
refactor(system/services/redirects): Move under the nginx directory
Diffstat (limited to 'system/services/redirects/default.nix')
-rw-r--r--system/services/redirects/default.nix12
1 files changed, 0 insertions, 12 deletions
diff --git a/system/services/redirects/default.nix b/system/services/redirects/default.nix
deleted file mode 100644
index 2e175ea..0000000
--- a/system/services/redirects/default.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{...}: {
-  services.nginx = {
-    enable = true;
-    virtualHosts."source.vhack.eu" = {
-      # Redirect all request to the codeberg source
-      locations."/".return = "301 https://codeberg.org/vhack.eu/nixos-server";
-
-      enableACME = false;
-      forceSSL = false;
-    };
-  };
-}