summaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-08-18 12:09:30 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-08-18 12:09:30 -0400
commitce961bb5865b5d16d203365159ab173e67e34556 (patch)
tree9140826001e6478a6b3eb8fee4d8d478a61c090b /nginx.conf
parent780226fa442abda5cb5b1018e998f50e7985e908 (diff)
downloadhtml5ks-ce961bb5865b5d16d203365159ab173e67e34556.tar.xz
html5ks-ce961bb5865b5d16d203365159ab173e67e34556.zip
fix nginx.* to work better with slim nginx
also print warning if zopfli is not found
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf7
1 files changed, 2 insertions, 5 deletions
diff --git a/nginx.conf b/nginx.conf
index c0a88bd..0576dbd 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -7,13 +7,11 @@ error_log /dev/null;
http {
+ include nginx.gen.conf;
+
access_log /dev/null;
error_log stderr info;
client_body_temp_path /dev/null;
- proxy_temp_path /dev/null;
- fastcgi_temp_path /dev/null;
- scgi_temp_path /dev/null;
- uwsgi_temp_path /dev/null;
types {
application/font-woff woff;
@@ -37,7 +35,6 @@ http {
default_type application/octet-stream;
gzip on;
- include nginx.gen.conf;
gzip_types application/javascript application/json image/svg+xml text/plain text/css;
gzip_vary on;