Page MenuHomeDevCentral

Allow Hauk to comply with new OpenStreetMap tiles server policy
Open, HighPublic

Description

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:

For OpenStreetMap tile usage policy compliance, your Referrer-Policy should

Be one of: no-referrer-when-downgrade, origin, origin-when-cross-origin, strict-origin, strict-origin-when-cross-origin
Not be one of: no-referrer, same-origin

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-PolicySame-origin requestsCross-origin requestsHTTPS → HTTP downgrade
no-referrer-when-downgradeFull URLFull URLNothing
originOrigin onlyOrigin onlyOrigin only
origin-when-cross-originFull URLOrigin onlyOrigin only
strict-originOrigin onlyOrigin onlyNothing
strict-origin-when-cross-originFull URLOrigin onlyNothing

For reference the denied values do:

Referrer-PolicySame-origin requestsCross-origin requestsHTTPS → HTTP downgrade
no-referrerNothingNothingNothing
same-originFull URLNothingNothing

The strict-origin-when-cross-origin proposed value by zell-mbc so makes sense.


See also: