Merge pull request #614 from coreos-inc/www-redirect

nginx: add www redirect
This commit is contained in:
Silas Sewell 2015-10-07 14:24:30 -04:00
commit e80fcc1b28

View file

@ -4,6 +4,10 @@ server_name _;
keepalive_timeout 5;
if ($host = "www.quay.io") {
return 301 $scheme://quay.io$request_uri;
}
if ($args ~ "_escaped_fragment_") {
rewrite ^ /snapshot$uri;
}