fix order of precedence
This commit is contained in:
Родитель
4b8b137e63
Коммит
dfaf3c2dbe
|
@ -113,6 +113,12 @@ http {
|
|||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
|
||||
location ~* ^/((metrics)|(api/health)|(api/heap)) {
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
return 301 /;
|
||||
}
|
||||
|
||||
location ~* ^/(graphql|explorer|(auth/.*)|(objects/.*)|(preview/.*)|(api/.*)|(static/.*)) {
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_speckle_server speckle-server;
|
||||
|
@ -128,11 +134,6 @@ http {
|
|||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
location ~* ^/((metrics)|(api/health)|(api/heap)) {
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
return 301 /
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
|
||||
location = /50x.html {
|
||||
|
|
Загрузка…
Ссылка в новой задаче