summaryrefslogtreecommitdiff
path: root/hostnix/elmo/cgithub.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/elmo/cgithub.nix')
-rw-r--r--hostnix/elmo/cgithub.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/hostnix/elmo/cgithub.nix b/hostnix/elmo/cgithub.nix
new file mode 100644
index 0000000..ec7c162
--- /dev/null
+++ b/hostnix/elmo/cgithub.nix
@@ -0,0 +1,11 @@
+{ ... }:
+
+{
+ services.nginx.virtualHosts."fluffy-kitten.elmo.mou.fo" = {
+ useACMEHost = "elmo.mou.fo";
+ forceSSL = true;
+ locations."/" = {
+ return = "301 https://cgithub.jmou.workers.dev$request_uri";
+ };
+ };
+}