Commit Graph

27 Commits

Author SHA1 Message Date
alrra 2e3c59848a [nginx] Remove `text/html` from `gzip_types`
Fix: h5bp/server-configs#144.
2013-06-27 16:47:38 +03:00
Aitte d27d54e52a nginx.conf: repair broken log format (someone had swapped two variables around, breaking the intended apache log format compatibility)
Conflicts:
	nginx/nginx.conf
2013-04-01 22:43:33 +02:00
alrra a6bf5c3cd4 Update server configs
Update some of the server configurations to match
the ones used in the Apache hypertext access file.
2013-03-29 23:54:29 +02:00
Aitte 5b798dda77 nginx.conf: Add support for default SSL certificate served to clients with old browsers 2013-03-24 18:00:48 +00:00
Aitte 43b1015b23 nginx.conf: Massively speed up SSL connections by caching the sessions for 10 minutes rather than constantly re-negotiating 2013-03-24 17:59:34 +00:00
Aitte 020851039b nginx.conf: protect server against the BEAST SSL attack (ref: http://nginx.org/en/docs/http/configuring_https_servers.html) 2013-03-24 17:57:05 +00:00
Aitte 4a0fa84b53 replacing everything with more descriptive comments
for people that don't know what the options do
2013-03-24 17:55:51 +00:00
Aitte df1bdb7ab6 nginx.conf: Make use of the "auto" directive to let nginx spawn as many workers as there are CPU cores 2013-03-24 17:54:09 +00:00
Aitte e79e23fa0c nginx.conf: Remove the gzip_buffers directive and let nginx figure it out instead, that way it will align them to CPU cache lines for greater performance 2013-03-24 17:52:13 +00:00
Nicolae Vartolomei 79821db291 one more space 2013-01-12 22:16:02 +02:00
Nicolae Vartolomei eb613e8c68 code style consistency across nginx configs 2013-01-12 21:33:17 +02:00
Andy Dawson 1c7c4c7911 Merge pull request h5bp/server-configs#89 from nvartolomei/master
Hide nginx version
2012-10-24 13:57:43 -07:00
James Aitken 0db6a7b393 Update gzip_disable option to match best practice
Nginx recommend to use the string ``msie6`` instead of the previously recommended regex.

The string matches the same stuff as the regex, but is faster according to their docs.

See: http://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_disable
2012-10-24 19:03:54 +02:00
nvartolomei ba5b411f25 Update nginx/nginx.conf 2012-09-05 18:38:16 +03:00
Alessandro Vendruscolo 9971b604ea Rename default.conf to example.com
This should encourage users to keep the config files indexed by domain
name
2012-07-23 12:45:05 +02:00
AD7six 54343772c5 only include conf files 2012-07-23 00:10:08 +02:00
AD7six 2bc898723e remove embedded config lost in merge 2012-07-22 21:42:53 +02:00
Alessandro Vendruscolo 4ee6622221 Add `cache-control: no-transform` header 2012-07-21 17:21:20 +02:00
Alessandro Vendruscolo d63f139841 Cross-domain stuff 2012-07-21 17:21:19 +02:00
Alessandro Vendruscolo 1c5df514a3 Security tweaks, returning 403 if needed 2012-07-21 17:21:19 +02:00
Alessandro Vendruscolo 48a1cd5a7c Add filename based cache busting 2012-07-21 17:21:12 +02:00
Alessandro Vendruscolo 804f8c4e54 Handle www to non-www redirect.
A secundary `server` block has been added. It'll listen on the `www`
host and redirect to the `non-www` host.
2012-07-21 17:17:30 +02:00
Alessandro Vendruscolo dc91fd4862 Encourage users to use multiple virtual hosts 2012-07-15 23:45:17 +02:00
Roland Warmerdam 17ba833a40 Update the nginx gzip MIME types. 2012-06-19 17:00:12 +12:00
Roland Warmerdam 3ede2df8bc Use valid font mime types in the nginx config. 2012-06-14 23:05:47 +12:00
AD7six 1543d95056 whoops - 1Y is not valid
one year is 1y
2012-02-05 01:39:24 +01:00
AD7six ddedf07f48 move all server configs into folders
easier to organise. We could also possibly then simply add a README
file toeach folder rather than use wiki pages - maybe.
2012-02-04 10:45:24 +01:00