fix: change martin location

This commit is contained in:
Andrey Bakhvalov 2018-10-16 14:31:56 +03:00
parent b5d554faca
commit 97d067dd94

View File

@ -54,7 +54,7 @@ http {
try_files $uri /index.html;
}
location ~ /tiles/(?<fwd_path>.*) {
location ~ /martin/(?<fwd_path>.*) {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@ -75,7 +75,7 @@ http {
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
add_header X-Cache-Status $upstream_cache_status;
proxy_pass http://tiles_upstream/$fwd_path$is_args$args;
proxy_pass http://martin/$fwd_path$is_args$args;
}
error_page 500 502 503 504 /50x.html;