summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix16
1 files changed, 4 insertions, 12 deletions
diff --git a/ymir.nix b/ymir.nix
index 6e7451ba..532b9cf2 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -201,20 +201,12 @@ in {
201 201
202 ignore_invalid_headers on; 202 ignore_invalid_headers on;
203 203
204 include /etc/nginx/hosts/*.conf;
205 '';
206 };
207 environment.etc."nginx/mime.types" = {
208 source = ./custom/mime.types;
209 };
210 environment.etc."nginx/hosts/dirty-haskell.conf" = {
211 text = ''
212 server { 204 server {
213 listen *:80; 205 listen *:80;
214 listen [::]:80; 206 listen [::]:80;
215 server_name dirty-haskell.org www.dirty-haskell.org; 207 server_name dirty-haskell.org www.dirty-haskell.org;
216 208
217 root /srv/www/dirty-haskell.org; 209 root /srv/www/dirty-haskell.org;
218 } 210 }
219 ''; 211 '';
220 }; 212 };