diff --git a/roles/service-nginx-meshviewer/vars/main.yml b/roles/service-nginx-meshviewer/vars/main.yml index 34c31d0..8544653 100644 --- a/roles/service-nginx-meshviewer/vars/main.yml +++ b/roles/service-nginx-meshviewer/vars/main.yml @@ -8,7 +8,7 @@ meshviewer_src: "/home/admin/clones/meshviewer" map_layers: - osm_mapnik_cached: name: 'OpenStreetMap.Mapnik CACHED' - url: 'https://{{ http_meshviewer_external }}/{z}/{x}/{y}.png' + url: 'https://{{ http_meshviewer_external }}/tiles/{z}/{x}/{y}.png' max_zoom: 19 attribution: '© OpenStreetMap' - osm_mapnik: diff --git a/roles/service-nginx/templates/default.conf.j2 b/roles/service-nginx/templates/default.conf.j2 index db53d44..d04e373 100644 --- a/roles/service-nginx/templates/default.conf.j2 +++ b/roles/service-nginx/templates/default.conf.j2 @@ -48,6 +48,6 @@ server { allow {{ lookup('dig', host, 'qtype=AAAA') }}; deny all; {% endfor %} -{% endif %} } +{% endif %} }