From 7b599507537554f12f780a6437651b01cd50342f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 7 Nov 2015 20:23:21 +0100 Subject: more concise nginx config --- ymir.nix | 16 ++++------------ 1 file 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 { ignore_invalid_headers on; - include /etc/nginx/hosts/*.conf; - ''; - }; - environment.etc."nginx/mime.types" = { - source = ./custom/mime.types; - }; - environment.etc."nginx/hosts/dirty-haskell.conf" = { - text = '' server { - listen *:80; - listen [::]:80; - server_name dirty-haskell.org www.dirty-haskell.org; + listen *:80; + listen [::]:80; + server_name dirty-haskell.org www.dirty-haskell.org; - root /srv/www/dirty-haskell.org; + root /srv/www/dirty-haskell.org; } ''; }; -- cgit v1.2.3