diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/ymir-nginx.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index bc4e0a78..8cc3b47c 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -210,25 +210,6 @@ in { | |||
210 | uwsgi_modifier1 9; | 210 | uwsgi_modifier1 9; |
211 | } | 211 | } |
212 | } | 212 | } |
213 | |||
214 | server { | ||
215 | listen *:443 ssl; | ||
216 | listen [::]:443 ssl; | ||
217 | server_name ~^(.*\.)?git\.rheperire\.org$; | ||
218 | |||
219 | root ${pkgs.cgit}/cgit; | ||
220 | |||
221 | try_files $uri @cgit; | ||
222 | |||
223 | include ${favicon}; | ||
224 | include ${acme}; | ||
225 | |||
226 | location @cgit { | ||
227 | include ${uwsgi_params}; | ||
228 | uwsgi_pass unix:/run/git.rheperire.org.sock; | ||
229 | uwsgi_modifier1 9; | ||
230 | } | ||
231 | } | ||
232 | 213 | ||
233 | server { | 214 | server { |
234 | listen *:443 ssl; | 215 | listen *:443 ssl; |