summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/ymir-nginx.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix
index 02ea2ca3..4f8a5489 100644
--- a/custom/ymir-nginx.nix
+++ b/custom/ymir-nginx.nix
@@ -153,15 +153,15 @@ in {
153 listen [::]:443 ssl; 153 listen [::]:443 ssl;
154 server_name ~^(.*\.)?git\.yggdrasil\.li$; 154 server_name ~^(.*\.)?git\.yggdrasil\.li$;
155 155
156 root ${pkgs.cgit}/cgit; 156 root ${pkgs.cgit}/cgit;
157 157
158 try_files $uri @cgit; 158 try_files $uri @cgit;
159 159
160 include ${favicon}; 160 include ${favicon};
161 include ${acme}; 161 include ${acme};
162 162
163 location @cgit { 163 location @cgit {
164 include ${uwsgi_params}; 164 include ${uwsgi_params};
165 uwsgi_pass unix:/tmp/git.yggdrasil.li.sock; 165 uwsgi_pass unix:/tmp/git.yggdrasil.li.sock;
166 uwsgi_modifier1 9; 166 uwsgi_modifier1 9;
167 } 167 }
@@ -174,15 +174,15 @@ in {
174 listen [::]:443 ssl; 174 listen [::]:443 ssl;
175 server_name ~^(.*\.)?git\.rheperire\.org$; 175 server_name ~^(.*\.)?git\.rheperire\.org$;
176 176
177 root ${pkgs.cgit}/cgit; 177 root ${pkgs.cgit}/cgit;
178 178
179 try_files $uri @cgit; 179 try_files $uri @cgit;
180 180
181 include ${favicon}; 181 include ${favicon};
182 include ${acme}; 182 include ${acme};
183 183
184 location @cgit { 184 location @cgit {
185 include ${uwsgi_params}; 185 include ${uwsgi_params};
186 uwsgi_pass unix:/tmp/git.rheperire.org.sock; 186 uwsgi_pass unix:/tmp/git.rheperire.org.sock;
187 uwsgi_modifier1 9; 187 uwsgi_modifier1 9;
188 } 188 }