From 4c75e482449229f2cba677aa9bfec7a2062523fa Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Wed, 17 Jun 2020 20:54:27 +0200 Subject: [PATCH] web-svc: forward to new tileserver --- roles/web-svc/templates/tiles_vhost.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/web-svc/templates/tiles_vhost.j2 b/roles/web-svc/templates/tiles_vhost.j2 index 36938a9..2e1336d 100644 --- a/roles/web-svc/templates/tiles_vhost.j2 +++ b/roles/web-svc/templates/tiles_vhost.j2 @@ -25,8 +25,8 @@ server { ssl_certificate_key /etc/nginx/ssl/{{ domain }}.key; ssl_certificate /etc/nginx/ssl/{{ domain }}.crt; - location ~ /d/(.*) { - proxy_pass http://10.90.224.104:8080/styles/basic-preview/$1; + location ~ /d/(.*\.png|.*\.webp) { + proxy_pass http://10.90.224.103/styles/day/$1; proxy_cache tilecache; proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504; @@ -38,8 +38,8 @@ server { expires 7d; } - location ~ /n/(.*) { - proxy_pass http://10.90.224.104:8080/styles/custom/$1; + location ~ /n/(.*\.png|.*\.webp) { + proxy_pass http://10.90.224.103/styles/night/$1; proxy_cache tilecache; proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;