mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
allow to add php-compatible endpoints
If the new setting NOMINATIM_SERVE_LEGACY_URLS is set, the servers expose the endpoints also with the .php suffix to ensure backwards compatibility.
This commit is contained in:
@@ -204,6 +204,11 @@ NOMINATIM_LOOKUP_MAX_COUNT=50
|
||||
# Set to zero to disable polygon output.
|
||||
NOMINATIM_POLYGON_OUTPUT_MAX_TYPES=1
|
||||
|
||||
# Offer backwards compatible PHP URLs.
|
||||
# When running one of the Python enignes, they will add endpoint aliases
|
||||
# under <endpoint>.php
|
||||
NOMINATIM_SERVE_LEGACY_URLS=yes
|
||||
|
||||
### Log settings
|
||||
#
|
||||
# The following options allow to enable logging of API requests.
|
||||
|
||||
Reference in New Issue
Block a user