diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-08-13 12:05:30 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-08-13 12:05:30 +0200 |
commit | 6fd0d804498c12bbd76ea0c3f05b8732890ddecc (patch) | |
tree | 2fcf919f468e8b34bd265ccb3c1745ae2548c4ef /custom | |
parent | d2e868918b40f30ff1d23122550c5ecbeb4013c9 (diff) | |
download | nixos-6fd0d804498c12bbd76ea0c3f05b8732890ddecc.tar nixos-6fd0d804498c12bbd76ea0c3f05b8732890ddecc.tar.gz nixos-6fd0d804498c12bbd76ea0c3f05b8732890ddecc.tar.bz2 nixos-6fd0d804498c12bbd76ea0c3f05b8732890ddecc.tar.xz nixos-6fd0d804498c12bbd76ea0c3f05b8732890ddecc.zip |
...
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; |