summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-06-18 10:25:24 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-06-18 10:25:24 +0200
commit04e1e2a0fd598c095e113ab04bc78650d4840f6b (patch)
tree2a6a2998cb1b4b9ed9d8b01baa3578142e61d216
parent1fdccf4357f2093222a460c76cdbceac987a74eb (diff)
downloadnixos-04e1e2a0fd598c095e113ab04bc78650d4840f6b.tar
nixos-04e1e2a0fd598c095e113ab04bc78650d4840f6b.tar.gz
nixos-04e1e2a0fd598c095e113ab04bc78650d4840f6b.tar.bz2
nixos-04e1e2a0fd598c095e113ab04bc78650d4840f6b.tar.xz
nixos-04e1e2a0fd598c095e113ab04bc78650d4840f6b.zip
online.yggdrasil.li
-rw-r--r--custom/ymir-nginx.nix17
-rw-r--r--ymir.nix6
2 files changed, 20 insertions, 3 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix
index 7c479416..40ef2b77 100644
--- a/custom/ymir-nginx.nix
+++ b/custom/ymir-nginx.nix
@@ -122,6 +122,23 @@ in {
122 listen [::]:80; 122 listen [::]:80;
123 listen *:443 ssl; 123 listen *:443 ssl;
124 listen [::]:443 ssl; 124 listen [::]:443 ssl;
125 server_name ~^(.*\.)?(o|online)\.(yggdrasil\.li|141\.li|praseodym\.org)$;
126
127 include ${acme};
128
129 location / {
130 add_header X-NetworkManager-Status online;
131 add_header Content-Type text/plain;
132
133 return 200 "NetworkManager is online";
134 }
135 }
136
137 server {
138 listen *:80;
139 listen [::]:80;
140 listen *:443 ssl;
141 listen [::]:443 ssl;
125 server_name ~^(.*\.)?dirty-haskell\.org$; 142 server_name ~^(.*\.)?dirty-haskell\.org$;
126 143
127 include ${favicon}; 144 include ${favicon};
diff --git a/ymir.nix b/ymir.nix
index 0bc54188..8769311d 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -16,10 +16,10 @@ let
16 }; 16 };
17 }; 17 };
18 myDomains = [ "dirty-haskell.org" "www.dirty-haskell.org" "lists.dirty-haskell.org" "l.dirty-haskell.org" 18 myDomains = [ "dirty-haskell.org" "www.dirty-haskell.org" "lists.dirty-haskell.org" "l.dirty-haskell.org"
19 "ftp.141.li" "files.141.li" "f.141.li" "ymir.141.li" "141.li" "www.141.li" "lists.141.li" "l.141.li" "bragi.141.li" 19 "online.141.li" "o.141.li" "ftp.141.li" "files.141.li" "f.141.li" "ymir.141.li" "141.li" "www.141.li" "lists.141.li" "l.141.li" "bragi.141.li"
20 "ymir.xmpp.li" "xmpp.li" "www.xmpp.li" "lists.xmpp.li" "l.xmpp.li" "muc.xmpp.li" "proxy.xmpp.li" 20 "ymir.xmpp.li" "xmpp.li" "www.xmpp.li" "lists.xmpp.li" "l.xmpp.li" "muc.xmpp.li" "proxy.xmpp.li"
21 "ftp.yggdrasil.li" "files.yggdrasil.li" "f.yggdrasil.li" "ymir.yggdrasil.li" "git.yggdrasil.li" "www.yggdrasil.li" "yggdrasil.li" "lists.yggdrasil.li" "l.yggdrasil.li" "bragi.yggdrasil.li" 21 "online.yggdrasil.li" "o.yggdrasil.li" "ftp.yggdrasil.li" "files.yggdrasil.li" "f.yggdrasil.li" "ymir.yggdrasil.li" "git.yggdrasil.li" "www.yggdrasil.li" "yggdrasil.li" "lists.yggdrasil.li" "l.yggdrasil.li" "bragi.yggdrasil.li"
22 "ftp.praseodym.org" "files.praseodym.org" "f.praseodym.org" "ymir.praseodym.org" "praseodym.org" "www.praseodym.org" "lists.praseodym.org" "l.praseodym.org" 22 "online.praseodym.org" "o.praseodym.org" "ftp.praseodym.org" "files.praseodym.org" "f.praseodym.org" "ymir.praseodym.org" "praseodym.org" "www.praseodym.org" "lists.praseodym.org" "l.praseodym.org"
23 "git.rheperire.org" "api.rheperire.org" "www.rheperire.org" "rheperire.org" 23 "git.rheperire.org" "api.rheperire.org" "www.rheperire.org" "rheperire.org"
24 "ymir.kleen.li" "kleen.li" "www.kleen.li" 24 "ymir.kleen.li" "kleen.li" "www.kleen.li"
25 "ymir.nights.email" "nights.email" "www.nights.email" 25 "ymir.nights.email" "nights.email" "www.nights.email"