Administration
The following settings can be made under the extension settings:
Delete all cached tiles if the cache is cleared
If this option is activated, all cached tiles are deleted when the TYPO3 cache is cleared.
Delete all nominatim request caches if the cache is cleared
If this option is activated, all cached requests are deleted when the TYPO3 cache is cleared.
Maximum number of records stored in the database
The maximum number of records stored in the database.
Maximum Cache-Size in MB (When the limit is reached, the oldest tiles are removed)
This is the maximum size of the file cache used for tiles over all endpoints (if more than one endpoint is specified). If the limit is reached, the oldest tiles are removed until 90% of the limit are used.
Path to error tile png (absolute)
If there is an error when loading a tile, a standard error image is delivered. Here you can define a path to an alternative error image.
Path to empty tile png (absolute)
If an image outside the defined bounding box is requested, a standard image is returned. Here you can define a path to an alternative image.
Globally allowed referrer domains to request proxy (comma separated)
If an external domain request the proxy, you can define a list of globally allowed referrer domains here. It's helpful for headless TYPO3 installations, where the frontend and backend are on different domains and you want to configure it by environment variables. This config is a fallback for the allowed referrer domains configured in the page settings of the endpoint. If domains in the config of the page settings, this config won't be used.
Contact which is sent in the User-Agent to the OpenStreetMap servers
The usage policies of OpenStreetMap for tiles and Nominatim require a User-Agent which identifies the application and offers a way to contact its operator. Enter a URL or an e-mail address here. It is sent with each request of the proxy to the OpenStreetMap servers, together with the version of the extension, e.g.
Tile-Proxy-PHP/1.4.0 (TYPO3 extension tile_proxy; +webmaster@example.org)
If no contact is configured, the URL of the requested site is used.
For installations which already use the proxy, the upgrade wizard "Tile Proxy: set the contact for the User-Agent"
(Admin Tools > Upgrade > Upgrade Wizard) suggests a contact: the default sender address of the system
($GLOBALS) or, if there is none, the URL of the first site.
If the sites have no host in their base (e.g. /), the URL the wizard is called with is used.
The wizard shows the contact and asks for a confirmation before it is stored. If you deny, nothing is stored.
An upgrade wizard can not ask for a text, so another contact has to be entered in the extension configuration.