parent
5ab8ca04b6
commit
9c866eac4b
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ server_name _;
|
||||||
|
|
||||||
keepalive_timeout 5;
|
keepalive_timeout 5;
|
||||||
|
|
||||||
|
if ($host = "www.quay.io") {
|
||||||
|
return 301 $scheme://quay.io$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
if ($args ~ "_escaped_fragment_") {
|
if ($args ~ "_escaped_fragment_") {
|
||||||
rewrite ^ /snapshot$uri;
|
rewrite ^ /snapshot$uri;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue