In newer installations (for me since OH5) mapview is not showing the locations anymore in case of access over a local ngninx reverse proxy. These reverse proxy nginx settings solve the problem:
server {
listen 443 ssl;
server_name *.*.*;
ssl_certificate /etc/ssl/private/.....crt;
ssl_certificate_key /etc/ssl/private/.....key;
location /osm/ {
proxy_pass https://tile.openstreetmap.org/;
proxy_set_header Host tile.openstreetmap.org;
}
location / {
proxy_pass https://localhost:8443/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
sub_filter_once off;
sub_filter "https://tile.openstreetmap.org" "/osm";
}
}
fhz