summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/ymir.nix b/ymir.nix
index 2df8f902..7702d3e0 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -168,7 +168,7 @@ in {
168 services.nginx = { 168 services.nginx = {
169 enable = true; 169 enable = true;
170 httpConfig = '' 170 httpConfig = ''
171 include mime.types; 171 include /etc/nginx/mime.types;
172 default_type application/octet-stream; 172 default_type application/octet-stream;
173 173
174 log_format main 174 log_format main
@@ -202,13 +202,13 @@ in {
202 202
203 ignore_invalid_headers on; 203 ignore_invalid_headers on;
204 204
205 include hosts/*.conf; 205 include /etc/nginx/hosts/*.conf;
206 ''; 206 '';
207 }; 207 };
208 environment.etc."etc/nginx/mime.types" = { 208 environment.etc."nginx/mime.types" = {
209 source = ./custom/mime.types; 209 source = ./custom/mime.types;
210 }; 210 };
211 environment.etc."etc/nginx/hosts/dirty-haskell.conf" = { 211 environment.etc."nginx/hosts/dirty-haskell.conf" = {
212 text = '' 212 text = ''
213 server { 213 server {
214 listen *:80; 214 listen *:80;