diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-07 20:22:30 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-07 20:22:30 +0100 |
commit | 5e87a7ea8396e74db27b65019ba3372f88c3367c (patch) | |
tree | d313bc54238768a57ca4acfe0e35430d66ac5370 | |
parent | 17e246f07f9fcc89809ed81b822c11185a89b73b (diff) | |
download | nixos-5e87a7ea8396e74db27b65019ba3372f88c3367c.tar nixos-5e87a7ea8396e74db27b65019ba3372f88c3367c.tar.gz nixos-5e87a7ea8396e74db27b65019ba3372f88c3367c.tar.bz2 nixos-5e87a7ea8396e74db27b65019ba3372f88c3367c.tar.xz nixos-5e87a7ea8396e74db27b65019ba3372f88c3367c.zip |
More fixes to nginx
-rw-r--r-- | custom/mime.types | 81 | ||||
-rw-r--r-- | ymir.nix | 1 |
2 files changed, 0 insertions, 82 deletions
diff --git a/custom/mime.types b/custom/mime.types deleted file mode 100644 index d723a21b..00000000 --- a/custom/mime.types +++ /dev/null | |||
@@ -1,81 +0,0 @@ | |||
1 | |||
2 | types { | ||
3 | text/html html htm shtml; | ||
4 | text/css css; | ||
5 | text/xml xml; | ||
6 | image/gif gif; | ||
7 | image/jpeg jpeg jpg; | ||
8 | application/x-javascript js; | ||
9 | application/atom+xml atom; | ||
10 | application/rss+xml rss; | ||
11 | application/jose+json json; | ||
12 | |||
13 | text/mathml mml; | ||
14 | text/plain txt; | ||
15 | text/vnd.sun.j2me.app-descriptor jad; | ||
16 | text/vnd.wap.wml wml; | ||
17 | text/x-component htc; | ||
18 | |||
19 | image/png png; | ||
20 | image/tiff tif tiff; | ||
21 | image/vnd.wap.wbmp wbmp; | ||
22 | image/x-icon ico; | ||
23 | image/x-jng jng; | ||
24 | image/x-ms-bmp bmp; | ||
25 | image/svg+xml svg svgz; | ||
26 | image/webp webp; | ||
27 | |||
28 | application/java-archive jar war ear; | ||
29 | application/mac-binhex40 hqx; | ||
30 | application/msword doc; | ||
31 | application/pdf pdf; | ||
32 | application/postscript ps eps ai; | ||
33 | application/rtf rtf; | ||
34 | application/vnd.ms-excel xls; | ||
35 | application/vnd.ms-powerpoint ppt; | ||
36 | application/vnd.wap.wmlc wmlc; | ||
37 | application/vnd.google-earth.kml+xml kml; | ||
38 | application/vnd.google-earth.kmz kmz; | ||
39 | application/x-7z-compressed 7z; | ||
40 | application/x-cocoa cco; | ||
41 | application/x-java-archive-diff jardiff; | ||
42 | application/x-java-jnlp-file jnlp; | ||
43 | application/x-makeself run; | ||
44 | application/x-perl pl pm; | ||
45 | application/x-pilot prc pdb; | ||
46 | application/x-rar-compressed rar; | ||
47 | application/x-redhat-package-manager rpm; | ||
48 | application/x-sea sea; | ||
49 | application/x-shockwave-flash swf; | ||
50 | application/x-stuffit sit; | ||
51 | application/x-tcl tcl tk; | ||
52 | application/x-x509-ca-cert der pem crt; | ||
53 | application/x-xpinstall xpi; | ||
54 | application/xhtml+xml xhtml; | ||
55 | application/zip zip; | ||
56 | |||
57 | application/octet-stream bin exe dll; | ||
58 | application/octet-stream deb; | ||
59 | application/octet-stream dmg; | ||
60 | application/octet-stream eot; | ||
61 | application/octet-stream iso img; | ||
62 | application/octet-stream msi msp msm; | ||
63 | |||
64 | audio/midi mid midi kar; | ||
65 | audio/mpeg mp3; | ||
66 | audio/ogg ogg; | ||
67 | audio/x-m4a m4a; | ||
68 | audio/x-realaudio ra; | ||
69 | |||
70 | video/3gpp 3gpp 3gp; | ||
71 | video/mp4 mp4; | ||
72 | video/mpeg mpeg mpg; | ||
73 | video/quicktime mov; | ||
74 | video/webm webm; | ||
75 | video/x-flv flv; | ||
76 | video/x-m4v m4v; | ||
77 | video/x-mng mng; | ||
78 | video/x-ms-asf asx asf; | ||
79 | video/x-ms-wmv wmv; | ||
80 | video/x-msvideo avi; | ||
81 | } | ||
@@ -168,7 +168,6 @@ in { | |||
168 | services.nginx = { | 168 | services.nginx = { |
169 | enable = true; | 169 | enable = true; |
170 | httpConfig = '' | 170 | httpConfig = '' |
171 | include /etc/nginx/mime.types; | ||
172 | default_type application/octet-stream; | 171 | default_type application/octet-stream; |
173 | 172 | ||
174 | log_format main | 173 | log_format main |