summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-04-26 15:35:09 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-04-26 15:35:09 +0200
commit2ec263d649b20da9cb59d490a1bc7b2fa7d319e1 (patch)
tree018fbb1d4a50af0aa91a2ea9afc45c569ec8ce24 /custom
parentca65ce3967ac731be0c6b1da0b84f65d648481d5 (diff)
downloadnixos-2ec263d649b20da9cb59d490a1bc7b2fa7d319e1.tar
nixos-2ec263d649b20da9cb59d490a1bc7b2fa7d319e1.tar.gz
nixos-2ec263d649b20da9cb59d490a1bc7b2fa7d319e1.tar.bz2
nixos-2ec263d649b20da9cb59d490a1bc7b2fa7d319e1.tar.xz
nixos-2ec263d649b20da9cb59d490a1bc7b2fa7d319e1.zip
flexible subdomains
Diffstat (limited to 'custom')
-rw-r--r--custom/ymir-nginx.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix
index 740b6145..a36ac79e 100644
--- a/custom/ymir-nginx.nix
+++ b/custom/ymir-nginx.nix
@@ -95,7 +95,7 @@ in {
95 listen [::]:80; 95 listen [::]:80;
96 listen *:443 ssl; 96 listen *:443 ssl;
97 listen [::]:443 ssl; 97 listen [::]:443 ssl;
98 server_name dirty-haskell.org www.dirty-haskell.org; 98 server_name ~^(.*\.)?dirty-haskell\.org$;
99 99
100 include ${favicon}; 100 include ${favicon};
101 include ${acme}; 101 include ${acme};
@@ -108,7 +108,7 @@ in {
108 listen *:443 ssl; 108 listen *:443 ssl;
109 listen [::]:80; 109 listen [::]:80;
110 listen [::]:443 ssl; 110 listen [::]:443 ssl;
111 server_name git.yggdrasil.li; 111 server_name ~^(.*\.)?git\.yggdrasil\.li$;
112 112
113 root ${pkgs.cgit}/cgit; 113 root ${pkgs.cgit}/cgit;
114 114