Commit Graph

60 Commits

Author SHA1 Message Date
sean 6ca197bb2f nginx.conf Improvements/Corrections
Don't think it makes sense to turn this off for a single worker and it's on by default.

The docs indicate that Nginx will use the best method based on the available methods

Keepalive of 5 seems very low - i've seen recommendations of 10-20

gzip_proxied was set twice

gzip_static should be off unless actually used

default is deprecated

server_name _; shouldn't be used

Shoudn't use expires in the server {} block - should be inside location {}

Extra root lines not needed

gzip_comp_level seems too low

gzip_min_length seems too high
2011-07-20 10:40:39 -07:00
Mark Wolfe 8e4c2d5125 Added some comments to the nginx config relating to expires. 2011-07-20 10:40:37 -07:00
Mark Wolfe 4360828e44 Added some comments to the nginx config relating to expires. 2011-05-29 11:31:20 +10:00
Ben Hanzl c46faae757 specify 404 page 2011-04-13 16:23:10 -04:00
Graham Weldon 072e63e346 Remove access logging for static files to save disk writes. 2011-02-08 11:25:48 +08:00
Paul Sarena 5827b0c16a Add to and fix typo in MIME types to be gzipped:
Add text/x-component.  It's listed in html5-boilerplate/.htaccess and is in our nginx-mime.types
Fix application/xml+rss, should be application/rss+xml
Comment indicating text/html is always compressed, so there's no need to include it
2011-02-02 09:22:03 +08:00
Paul Irish f4bc3a9dc6 associate mime.types file with nginx 2011-01-31 17:06:10 -08:00
Paul Irish 3b7414f89a Use the .appcache extension instead of .manifest, as per http://html5.org/r/5812 - thx mathias 2011-01-31 16:55:29 -08:00
Paul Irish 289233a8c0 X-UA-Compatible for nginx. thanks mucho joshgillies 2011-01-31 10:35:18 -08:00
Paul Irish 7bf736cbd3 whats up, sweetass configurations? boom boom. 2010-12-14 21:12:17 -08:00