Commit Graph

524 Commits

Author SHA1 Message Date
Craig Davison 73db8ccfd2 Fix typo 2016-03-22 15:27:19 +00:00
Craig Davison 605ec6f8c3 Improve comments in nginx.conf 2016-03-22 15:27:18 +00:00
Alan Orth ec4e0303f4 Correct syntax for keepalive_timeout
It doesn't seem to be a fatal error, but the keepalive_timeout
value actually requires "s" (for seconds). Another occurence of
this was fixed in 35434b3361 but
these slipped through.

See: http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2016-03-14 10:25:01 +02:00
Andy Dawson 66d0c463e0 Merge pull request #128 from corbanmailloux/patch-1
Single capitalization fix
2016-01-29 21:17:14 +01:00
Andy Dawson 029821b1a8 Merge pull request #130 from davisonio/specify-keepalive_timeout
Specify that keepalive_timeout is in seconds
2016-01-29 21:11:41 +01:00
Andy Dawson 740ba774f5 Merge pull request #124 from appleboy/patch-3
fix format.
2016-01-29 21:10:25 +01:00
Craig Davison 7c3a67131c Change default value in comment 2016-01-23 14:05:55 +00:00
Craig Davison 35434b3361 Specify that keepalive_timeout is in seconds 2016-01-23 13:59:22 +00:00
Corban Mailloux 1329a12ff3 Single capitalization fix 2016-01-22 15:05:01 -05:00
Bo-Yi Wu 3270937c3a fix format.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2015-12-04 22:25:31 +08:00
Andy Dawson 6e4b16c4cf Merge pull request #122 from beilharz/patch-1
Update nginx.conf: Typo in a comment
2015-12-03 11:51:05 +01:00
Andy Dawson 181de133f3 Merge pull request #123 from appleboy/patch-1
Add white space for comment.
2015-12-03 11:50:35 +01:00
Bo-Yi Wu d5b5bf9e18 Add white space for comment. 2015-12-01 10:38:42 +08:00
beilharz 5934741e15 Update nginx.conf
Typo: sites-available should be sites-enabled
2015-11-25 09:49:15 +01:00
Andy Dawson 82181a672a Merge pull request #119 from Francisc/patch-1
Minor typo fix
2015-11-16 09:23:02 +01:00
Francisc Romano d554c7c582 Miiiiiiiiiiiiiinor typo fix 2015-11-02 14:03:25 +02:00
Andy Dawson 94b3680c9d Merge pull request #105 from Cryszon/patch-1
Updated locations to match h5bp's Apache config
2015-09-11 10:55:01 +02:00
Andy Dawson e2ab3b5800 Merge pull request #112 from philippbecker/mime-types
Update media types
2015-09-11 10:49:24 +02:00
Andy Dawson 0932b4d10c Merge pull request #111 from pentago/master
Added FreeBSD w/ ZFS performance instructions
2015-09-11 10:46:34 +02:00
AD7six faabaad16b Update to mozilla's wiki's current intermediate set 2015-09-11 08:41:05 +00:00
Andy Dawson 1e2850833f Merge pull request #114 from st-isidore-de-seville/master
fix #113
2015-09-11 10:32:53 +02:00
St. Isidore de Seville 19d0f8ffbf fix #113 2015-08-29 21:05:56 -04:00
Philipp Becker f719f3e8e4 Update media types in `nginx.conf` 2015-07-21 11:34:05 +02:00
Philipp Becker 20d025f7f6 Minor extension of the alphabetical sorting of media types 2015-07-21 10:42:40 +02:00
Goran dc3bae07ad Added FreeBSD w/ ZFS performance instructions
On FreeBSD systems with ZFS, sendfile() is useless as ZFS's caching subsystem (adaptive replacement cache a.k.a ARC) already caches most frequently used files in RAM. Disabling sendfile() avoids redundant data caching. 

References: 
https://calomel.org/nginx.html
http://blog.vx.sk/uploads/conferences/EuroBSDcon2012/zfs-tuning-handout.pdf
2015-07-06 19:10:45 +02:00
Andy Dawson 72f441c327 Merge pull request #106 from ericandrewlewis/master
Explain why everything in the sites-enabled folder is included
2015-06-12 16:41:37 +02:00
Eric Andrew Lewis 01af1c1e43 Add an inline documentation link to the sites-enabled documentation page. 2015-06-12 09:52:16 -04:00
Eric Lewis 01cefcda17 Explain why everything in the sites-enabled folder is included 2015-06-11 10:27:20 -04:00
Kimmo Salmela d37a4c7165 Updated locations to match h5bp's Apache config
See https://github.com/h5bp/server-configs-apache/issues/31 for `well-known` change.
2015-06-08 15:56:19 +03:00
Andy Dawson 8e361ed61a Merge pull request #104 from jeffwidman/patch-3
Fix mispelling
2015-06-05 10:55:12 +02:00
Andy Dawson ab2174c069 Merge pull request #103 from jeffwidman/patch-2
Fix mispelling
2015-06-05 10:54:55 +02:00
Andy Dawson 687994152c Merge pull request #102 from jeffwidman/patch-1
Fix typo
2015-06-05 10:54:28 +02:00
Jeff Widman 9be5b05c59 Fix mispelling 2015-06-03 23:49:42 -07:00
Jeff Widman 941cfc4803 Fix mispelling 2015-06-03 23:47:42 -07:00
Jeff Widman 4a5d6523a8 Fix typo 2015-06-03 23:40:36 -07:00
Andy Dawson fce0e368c1 Don't use invalid examples
A wildcard subdomain isn't valid syntax for a ACAO header
2015-05-29 15:32:23 +02:00
Andy Dawson b674df5545 Merge pull request #93 from pentago/master
Added accept filter/socket options for SSL servers on FreeBSD and Linux hosts
2015-05-16 11:35:58 +02:00
Luke Brookhart 72ad300c95 Fix typo in `inline.sh`
`h5bp/basics.conf` => `h5bp/basic.conf`

Close #97
2015-05-11 17:59:39 +02:00
Cătălin Mariș 0b3643c557 Update `CHANGELOG.md` 2015-04-08 00:41:42 +03:00
Cătălin Mariș 6c098fe359 Map `.manifest` → `text/cache-manifest` media type
The specification for the manifest file for web applications was
recently updated¹ and it changed one of the recommended file extensions
from `.manifest` to the unique `.webmanifest`².

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

¹ 0eecadd090
² https://github.com/w3c/manifest/issues/346
2015-04-08 00:39:12 +03:00
Pentago a36387848f Added 'dataready' accept_filter for SSL servers on FreeBSD hosts as per 'accept_filter=filter' section of http://nginx.org/en/docs/http/ngx_http_core_module.html#listen
More on FreeBSD's accept filters:
http://www.freebsd.org/cgi/man.cgi?accf_http
http://www.freebsd.org/cgi/man.cgi?accf_data

Also added 'defered' (TCP_DEFER_ACCEPT) socket option to SSL server on Linux hosts and organized/commented both platform directives above the default value.

Related to https://github.com/h5bp/server-configs-nginx/blob/master/sites-available/example.com#L19
2015-04-01 23:10:30 +02:00
Cătălin Mariș 72fb2da17d Remove vcf → text/x-vcard mapping from mime.types
Ref: http://www.iana.org/assignments/media-types/text/vcard
Fix h5bp/server-configs-nginx#92
2015-04-01 10:23:13 +03:00
Cătălin Mariș 34c6b3ebe6 README.md: Make minor improvements 2015-03-25 12:05:07 +02:00
Cătălin Mariș d1c9a1b942 Update `CHANGELOG.md` 2015-03-25 11:11:38 +02:00
Cătălin Mariș 6c1793bb68 Update the list of resources to be compressed
Ref: a0c4e17190/src/web_performance/compression.conf
2015-03-25 11:10:39 +02:00
Cătălin Mariș 0ac995867d Update `mime.types`
* Reorganized media types and order them alphabetically
* Include some new media types in order to align with what is provided
  by the Apache configurations.
  c805353c41/src/media_types/media_types.conf
2015-03-25 10:59:56 +02:00
Cătălin Mariș 4737654b8f Update `CHANGELOG.md` 2015-03-25 10:12:41 +02:00
Cătălin Mariș d7e0e1bf46 Remove the .manifest → text/cache-manifest mapping
Four years ago the recommended file extension for AppCache manifest
files was changed¹ from `.manifest` to `.appcache`. So, even adding
into consideration the transitional period, it no longer makes sense
to keep the configurations that ensure that `.manifest` files are
served with the AppCache required `text/cache-manifest` media type.

Also, recently, `.manifest` became one of the recommended file
extensions for web application manifest² files.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

¹ https://html5.org/r/5812
² http://w3c.github.io/manifest/
2015-03-25 10:06:06 +02:00
Cătălin Mariș dc3658bee6 Rename `LICENSE.md` to `LICENSE.txt`
Change made so that the process of opening the `LICENSE` file is
easier for non-technical people.
2015-03-25 10:05:20 +02:00
Sylvain Emery 722e11e432 Change media types for `.atom` and `.rss` files
Modify the configurations so that:

 * `.atom` files are served with the `application/atom+xml`¹ media type
 * `.rss` files are served with the `application/rss+xml`² media type

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

¹ https://www.iana.org/assignments/media-types/application/atom+xml
² http://tools.ietf.org/id/draft-nottingham-rss-media-type-00.txt

Ref: https://github.com/h5bp/server-configs-apache/pull/50#issuecomment-76552855
     653c461c35

Close h5bp/server-configs-nginx#90
2015-03-19 22:00:34 +02:00