From 78578e0d369836167abd292695c01934e331aea1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 4 May 2016 15:34:37 +0200 Subject: copy&paste error --- custom/ymir-nginx.nix | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'custom') diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 1a02d4c7..46256328 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix @@ -103,32 +103,6 @@ in { root /srv/www/files; } - server { - listen *:80; - listen *:443 ssl; - listen [::]:80; - listen [::]:443 ssl; - server_name ~^(.*\.)?git\.yggdrasil\.li$; - - root ${pkgs.cgit}/cgit; - - try_files $uri @cgit; - - include ${favicon}; - include ${acme}; - - location @cgit { - include ${uwsgi_params}; - uwsgi_pass unix:/tmp/cgit.sock; - uwsgi_modifier1 9; - } - } - ''; - }; -} - - } - server { listen *:80; listen [::]:80; -- cgit v1.2.3