Commit Graph

324 Commits

Author SHA1 Message Date
Markus Amalthea Magnuson 353a5df984 Update README.md 2013-12-23 11:15:32 +01:00
Andy Dawson 8a870c2e5b Merge pull request #30 from appleboy/develop
Remove Chrome Frame meta tag
2013-12-23 02:01:17 -08:00
Markus Amalthea Magnuson bc21d74cd2 Fix broken documentation link.
The documentation link in the README is broken. It can be fixed either by changing "blob" to "tree", or by linking to the table of contents. This fix opts for the latter.
2013-12-22 10:43:21 +01:00
Bo-Yi Wu b4d4ebb357 Remove Chrome Frame meta tag. Reference h5bp/server-configs-nginx#2 2013-12-21 17:41:25 +08:00
Andy Dawson 209bea1152 Merge pull request #27 from irazasyed/patch-1
Renamed h5bp.conf to basic.conf README
2013-12-03 12:47:21 -08:00
Syed I.R 41e8ef9992 Renamed h5bp.conf to basic.conf README
Updated with correct filename.
2013-12-03 23:50:27 +05:30
Andy Dawson 742e9a262a Merge pull request #26 from dlion/patch-1
Update doc
2013-12-01 06:49:55 -08:00
Domenico Leone Luciani 4f7f285f45 Update doc
Because nginx doesn't start without fix access_log path.
2013-11-30 16:10:39 +01:00
Andy Dawson f8578ec325 Merge pull request #24 from h5bp/move-config
Move config files
2013-11-25 03:39:43 -08:00
AD7six d2fe435cc8 create getting started doc 2013-11-22 11:20:50 +00:00
AD7six 560bdab9cf Move config snippets around
Make it more obvious which snippets are location based, and which
are just directives. Need to provide more files like basic.conf to
cover more of the common use cases.
2013-11-22 10:50:58 +00:00
AD7six 77b4f6fb84 adds no value, remove 2013-11-22 10:35:33 +00:00
AD7six 3c31cc04e9 wrong dash 2013-11-22 10:33:50 +00:00
AD7six d3f07c8e32 get started on the documentation 2013-11-22 10:32:55 +00:00
AD7six 3feca85b44 remove readme from doc folder
a readme prevents navigating existing files via github
2013-11-21 23:09:47 +00:00
AD7six 3921535db8 add a doc block to no-default
and remove the default_server direcdtive from example.com. Since this file
is likely to be the copy-and-paste file for multiple server configs,
don't mark example.com as the default.
2013-11-20 20:40:02 +00:00
AD7six d5f68ed3ad Add a config file for no default site
fixes #10
2013-11-20 18:06:02 +00:00
AD7six e476b08d11 rename conf folder to h5bp
The name "conf" is potentially confusing as something which should be inclued
en masse rather than a folder of config snippets.

Closes #13
2013-11-20 18:06:02 +00:00
AD7six 1348cb9bfb Ensure compatibility with earlier/current versions of nginx
auto was not introdued until 1.3.8 and 1.2.5.

Debian wheezy for example only comes with 1.2.1, only the next version
(in testing) will have a version of nginx which supports auto.
2013-11-20 18:06:02 +00:00
AD7six 73d1895ff9 remove the sites-enabled readme
this file is considered a site config  file, preventing the use of the repo as is
2013-11-20 18:06:02 +00:00
Andy Dawson 6941aa5407 Merge pull request #17 from jammaloo/master
Typo foorbar -> foobar
2013-11-20 00:28:25 -08:00
Andy Dawson 62d930b9ff Merge pull request #19 from corprew/patch-1
Doc block grammar correction
2013-11-20 00:24:25 -08:00
Corprew Reed eb6a58c6cc grammar, doesn't modify code. 2013-11-18 21:38:57 -08:00
James Freeman 944a3d18be Typo foorbar -> foobar 2013-11-18 03:41:11 -05:00
Matt Robenolt 6814b3e19c Remove `font.css` reference.
Close #6.
2013-10-04 21:33:20 +03:00
Oskar S. Jakieła 508738ea7f Add configs for cursor images (`.cur`)
Apply all the configs used for `.ico` files to `.cur` files as the two
image formats are almost identical.

The MIME type for the `.cur` file doesn't matter as browsers seem to
sniff the content. However, `image/x-icon` is specified because it's
the one usually used for `.ico` file and because it's shorther then the
other frequentlly used one (`image/vnd.microsoft.icon`), making the
header size smaller.

See also:
* http://en.wikipedia.org/wiki/ICO_%28file_format%29
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms648007%28v=vs.85%29.aspx

Close: #5.
2013-10-04 13:28:07 +03:00
Cătălin Mariș f7c9c61de7 Update CONTRIBUTING.md and LICENSE.md
Replace the Apache references with Nginx ones.
2013-08-21 16:56:25 +03:00
Andrej Čremožnik 8ae468a6d0 Add MIME type for `.torrent` files
Serve `.torrent` files with the `application/x-bittorrent` MIME type
instead of the default `application/octet-stream`. This helps improve
the user experience in some browsers (e.g.: in Firefox, the user is
offered the option to open the file with a torrent application, if
it has one installed).

Close h5bp/server-configs-nginx#4
2013-08-16 20:04:45 +03:00
Cătălin Mariș dca86c3dbf Don't map the .jsonp extension to the JS MIME type
Remove `.jsonp` as there isn't any convention around the JSONP MIME-type
or the `.jsonp` extension. Also, it seems that, `application/javascript`
is arguably the wrong type to use for JSONP.

Ref: broofa/node-mime#64
2013-07-29 02:12:17 +03:00
Cătălin Mariș 05e1303189 Add `CHANGELOG.md`
Use a `CHANGELOG.md` file to keep the project history available within
the repository, therefore, making it easier to track what has changed
since the last tagged release.
2013-07-29 02:09:27 +03:00
Cătălin Mariș 70d7e03667 Add `README.md` 2013-07-29 02:07:37 +03:00
Cătălin Mariș d441e1239f Add MIT license
In order to remove any ambiguity, provide a proper, highly permissive
license, recognized by the Open Source Initiative (OSI).
2013-07-29 01:58:41 +03:00
Cătălin Mariș 75fe7615cd Add `CONTRIBUTING.md`
Providing the `CONTRIBUTING.md` file alows us to take advantage
of GitHub's UI and prompt contributors to read the repository's
guidelines before creating an issue or opening a pull request:
https://github.com/blog/1184-contributing-guidelines.

The content in the `CONTRIBUTING.md` file is based on @necolas's
Issue Guidelines: https://github.com/necolas/issue-guidelines.
2013-07-29 01:56:30 +03:00
Cătălin Mariș c367e809db Move nginx server configs to their own repository 2013-07-29 01:55:11 +03:00
Cătălin Mariș 12d26969d5 Move documentations into `doc` directories 2013-07-26 11:23:39 +03:00
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 adb6c7d926 expires.conf: add missing .htc file type 2013-03-24 18:09:04 +00:00
Aitte 5fb4bca4b4 protect-system-files.conf: clarify why people should be using it 2013-03-24 18:02:56 +00:00
Aitte a4c8b18aed cache-file-descriptors.conf: new feature which greatly speeds up performance on very busy production sites 2013-03-24 18:02:19 +00: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
Aitte f0527124a4 protect-system-files.conf: use "deny all" for clearer intent when blocking access 2013-03-24 17:49:18 +00:00
Aitte a8679c18b7 nginx: change regex patterns to non-capturing for speedup 2013-03-24 17:48:26 +00:00
Andy Dawson b39dfb59fd Don't cache .html or .htm files
Thanks @aitte, ref h5bp/server-configs#133
2013-03-24 17:46:39 +00:00