summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-04 15:34:37 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-04 15:34:37 +0200
commit78578e0d369836167abd292695c01934e331aea1 (patch)
tree07c8eb3bfbd68546cee4ea052f5a04e42bde64c2 /custom
parenta3e9717c91aa765a21f712a85d5e227b81203627 (diff)
downloadnixos-78578e0d369836167abd292695c01934e331aea1.tar
nixos-78578e0d369836167abd292695c01934e331aea1.tar.gz
nixos-78578e0d369836167abd292695c01934e331aea1.tar.bz2
nixos-78578e0d369836167abd292695c01934e331aea1.tar.xz
nixos-78578e0d369836167abd292695c01934e331aea1.zip
copy&paste error
Diffstat (limited to 'custom')
-rw-r--r--custom/ymir-nginx.nix26
1 files changed, 0 insertions, 26 deletions
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
@@ -105,32 +105,6 @@ in {
105 105
106 server { 106 server {
107 listen *:80; 107 listen *:80;
108 listen *:443 ssl;
109 listen [::]:80;
110 listen [::]:443 ssl;
111 server_name ~^(.*\.)?git\.yggdrasil\.li$;
112
113 root ${pkgs.cgit}/cgit;
114
115 try_files $uri @cgit;
116
117 include ${favicon};
118 include ${acme};
119
120 location @cgit {
121 include ${uwsgi_params};
122 uwsgi_pass unix:/tmp/cgit.sock;
123 uwsgi_modifier1 9;
124 }
125 }
126 '';
127 };
128}
129
130 }
131
132 server {
133 listen *:80;
134 listen [::]:80; 108 listen [::]:80;
135 listen *:443 ssl; 109 listen *:443 ssl;
136 listen [::]:443 ssl; 110 listen [::]:443 ssl;