summaryrefslogtreecommitdiff
path: root/custom/ymir-nginx.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-06-18 11:03:30 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-06-18 11:03:30 +0200
commit5df684be293c388d026c1f2a288ed9061b2677f6 (patch)
tree19f47f3016ea60be88fc7def4015035082c81862 /custom/ymir-nginx.nix
parent33cb5cc4a1b2d9804a4d51da1fc018d96e18e05c (diff)
downloadnixos-5df684be293c388d026c1f2a288ed9061b2677f6.tar
nixos-5df684be293c388d026c1f2a288ed9061b2677f6.tar.gz
nixos-5df684be293c388d026c1f2a288ed9061b2677f6.tar.bz2
nixos-5df684be293c388d026c1f2a288ed9061b2677f6.tar.xz
nixos-5df684be293c388d026c1f2a288ed9061b2677f6.zip
indentation
Diffstat (limited to 'custom/ymir-nginx.nix')
-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 }