web-svc: forward to new tileserver
This commit is contained in:
parent
22f2a8e3db
commit
4c75e48244
@ -25,8 +25,8 @@ server {
|
|||||||
ssl_certificate_key /etc/nginx/ssl/{{ domain }}.key;
|
ssl_certificate_key /etc/nginx/ssl/{{ domain }}.key;
|
||||||
ssl_certificate /etc/nginx/ssl/{{ domain }}.crt;
|
ssl_certificate /etc/nginx/ssl/{{ domain }}.crt;
|
||||||
|
|
||||||
location ~ /d/(.*) {
|
location ~ /d/(.*\.png|.*\.webp) {
|
||||||
proxy_pass http://10.90.224.104:8080/styles/basic-preview/$1;
|
proxy_pass http://10.90.224.103/styles/day/$1;
|
||||||
|
|
||||||
proxy_cache tilecache;
|
proxy_cache tilecache;
|
||||||
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
|
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
|
||||||
@ -38,8 +38,8 @@ server {
|
|||||||
expires 7d;
|
expires 7d;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /n/(.*) {
|
location ~ /n/(.*\.png|.*\.webp) {
|
||||||
proxy_pass http://10.90.224.104:8080/styles/custom/$1;
|
proxy_pass http://10.90.224.103/styles/night/$1;
|
||||||
|
|
||||||
proxy_cache tilecache;
|
proxy_cache tilecache;
|
||||||
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
|
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
|
||||||
|
Loading…
Reference in New Issue
Block a user