We've noticed from a while some tiles are blocked at first when browsing on Hauk web interface.
This can be solved by proper server configuration in roles/paas-docker/nginx/files/vhosts/hauk.conf per wiki instructions:
This is confirmed by this comment on Hauk issues tracker where add_header Referrer-Policy strict-origin-when-cross-origin is used.
What policy choose?
| Referrer-Policy | Same-origin requests | Cross-origin requests | HTTPS → HTTP downgrade |
|---|---|---|---|
| no-referrer-when-downgrade | Full URL | Full URL | Nothing |
| origin | Origin only | Origin only | Origin only |
| origin-when-cross-origin | Full URL | Origin only | Origin only |
| strict-origin | Origin only | Origin only | Nothing |
| strict-origin-when-cross-origin | Full URL | Origin only | Nothing |
For reference the denied values do:
| Referrer-Policy | Same-origin requests | Cross-origin requests | HTTPS → HTTP downgrade |
|---|---|---|---|
| no-referrer | Nothing | Nothing | Nothing |
| same-origin | Full URL | Nothing | Nothing |
The strict-origin-when-cross-origin proposed value by zell-mbc so makes sense.
See also:
- https://operations.osmfoundation.org/policies/tiles/
- https://wiki.openstreetmap.org/wiki/Referer
- upstream Initially reported in Hauk issues tracker: https://github.com/bilde2910/Hauk/issues/239