Commit Graph

169 Commits

Author SHA1 Message Date
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
AD7six 2ca289392a adding readm files to sites-available/enabled 2012-07-22 21:49:42 +02:00
AD7six 2bc898723e remove embedded config lost in merge 2012-07-22 21:42:53 +02:00
AD7six 981f5e16fe Use sites-available vhost style
If there is only one host - this doesn't add any problems, and makes
it easier to isolate changes related to the host from that of the host
in general.

When more than one host is used, it makes things much, much simpler.
2012-07-22 21:39:18 +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 da3078eb07 Add the MIME type for AAC audio files. 2012-06-20 21:57:27 +12: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 33a4f98eb0 normalize whitespace
make it easier to keep this file and the .htaccess file it is based upon
in sync, by using the same indent
2012-06-14 08:51:18 +02:00
AD7six 2615c2c2b1 Merge branch 'leek-patch-1' into develop
Conflicts:
	nginx/mime.types
2012-06-14 08:51:01 +02:00
James Long 6b6fa6efeb add the x-web-app-manifest-json mimetype for webapp files 2012-05-31 16:48:16 -04:00
Chris Jones e9cdc5dcb3 Syncing with latest H5BP `.htaccess` 2012-05-06 20:00:16 -03:00
AD7six b006de5485 Merge branch 'master' into develop
Conflicts:
	node/docs/docco.css
	node/docs/index.html
2012-03-28 10:26:14 +02:00
Indrek Ardel 55692f2b23 Fix configuration syntax. http://wiki.nginx.org/ConfigurationSyntax 2012-03-25 21:20:29 +03:00
Mathias Bynens 41b3dc1b33 Serve .mp4 and .m4v files as `video/mp4` as per RFC 4337
Closes h5bp/html5-boilerplate#1024. See http://tools.ietf.org/html/rfc4337#section-2.
2012-03-21 08:49:21 +01:00
AD7six 1543d95056 whoops - 1Y is not valid
one year is 1y
2012-02-05 01:39:24 +01:00
AD7six 3b39e4e928 apparently this is the same header as apache serves 2012-02-05 01:30:01 +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
AD7six 22adca171d make xml application/xml 2012-02-01 11:24:59 +01:00
AD7six 366eedd6c4 add json 2012-02-01 11:22:05 +01:00
AD7six 54d4437c2f add expire rules mimicking that of the apache config
These rules are closer to the expire logic defined for apache, and also
use a none-capturing regex which will be (unnoticably) faster.

Added a comment as to why there is no default expire header defined.
2012-01-30 18:19:22 +01:00
AD7six 703a75c229 do not set a default expire
Unless your entire site is static it's inappropriate to do so - dynamic
requests will be cached by the browser unless your application code
overrides the expires which nginx is setting by default.
2012-01-27 15:18:18 +01:00
John-Scott Atlakson 2c8442269f Added m4a/m4v mime types.
This was recently added upstream => http://trac.nginx.org/nginx/changeset/4252/nginx
2011-12-21 17:42:56 -05:00
ram 5e161c6ddf Specify a charset. 2011-11-22 18:15:33 +05:30
Mathias Bynens 6b9f238e2f Use the correct MIME type for XHTML files. 2011-11-07 08:26:15 +01:00
James McKinney 9aed41388d add mime types from default mime.types 2011-11-06 21:26:37 -05:00
Mike Almond 838caf43a6 Updating configs to match H5BP .htaccess defaults 2011-10-26 09:50:44 -04:00
Tinnet Coronam 788c6cc813 add mime type for .wav files
'x-wav' seems to be the standard, but could also be 'wav' or 'wave' or 'vnd.wav' according to wikipedia
2011-08-31 16:56:06 +03:00