summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;