Commit Graph

501 Commits

Author SHA1 Message Date
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
Aitte 1aa44a8c06 expires.conf: remove duplicate .ico cache headers 2013-03-24 17:45:01 +00:00
alrra 9eeccfdd71 Change WOFF MIME type to `application/font-woff`
The WOFF MIME Type was formally registered as `application/font-woff`:
- http://www.iana.org/assignments/media-types/application/font-woff
2013-01-24 20:50:38 +02: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
Nicolas Gallagher fdaace0f9b Port wiki docs to README's
Move the wiki documentation into a README for each server config dir.

Make formatting improvements to the IIS documentation.
2012-12-20 21:34:25 +02:00
alrra a447c77234 Move .htaccess to the `server-configs` repository 2012-11-29 01:21:44 +02:00
AD7six 8d1f7fd26c Merge branch 'develop' 2012-11-15 09:31:50 +01:00
Christian Boenning e613afc76f update Microsoft Office Mime-Types (h5bp/server-configs#94)
Add mimetypes for all major MS office file types > 2003

Reference:
http://technet.microsoft.com/en-us/library/ee309278(v=office.12).aspx
2012-11-15 09:29:59 +01:00
Andy Dawson 4307622b1e whitespace correction
Make the markdown render correctly
2012-11-12 18:14:44 +01: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
AD7six 5ccf155f5c correct cache headers for webfonts
Only one location match is ever executed - therefore the relevant
location match must contain all relevant rules.

cross-domain-fonts is included by default, therefore for right now add
the cache rules for these requests directly to the
cross-domain-fonts.conf file

fixes h5bp/server-configs#85
fixes h5bp/server-configs#86

Thanks to @MisterJack
2012-08-19 18:30:31 +02:00
AD7six 200163476f split the default server config
Make it possible to pick and mix server rules.
2012-07-26 00:54:20 +02:00
AD7six cebab6ff34 Merge branch 'develop' 2012-07-26 00:53:28 +02:00
Chris McKee 22203a5d6c Cleanup mess made doing pointless merge 2012-07-25 22:34:16 +01:00
Chris McKee c6e6fe065e Revert "Merge remote-tracking branch 'upstream/master' (HLBP Master Server Configs)"
This reverts commit 19aa2e8a56ee3366feb99207aa6a43d498d92a0f, reversing
changes made to 1007c16e697790da227fab1b7ade6343be02ddb6.
2012-07-25 22:26:14 +01:00
Alessandro Vendruscolo 61e10781f0 Improve READMEs 2012-07-23 12:53:17 +02: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
Alessandro Vendruscolo d457683f6e Per-site configuration, using two server blocks 2012-07-23 12:43:04 +02:00
Andy Dawson 1ca5c8ab33 correct syntax error 2012-07-23 11:02:10 +03:00
AD7six 54343772c5 only include conf files 2012-07-23 00:10:08 +02:00
AD7six 00ab8efc89 don't need this "hint" symlink
there's a readme instead.
2012-07-23 00:09:49 +02:00