mirror of
https://github.com/maplibre/martin.git
synced 2024-12-23 23:11:40 +03:00
fix: change martin location
This commit is contained in:
parent
b5d554faca
commit
97d067dd94
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user