]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/env.defaults
allow to add php-compatible endpoints
[nominatim.git] / settings / env.defaults
index 3115f4382aacf582c5a1054e78c03130bde9f00f..84cd24f16c5a162b3974e5f72d00705ee3c17efc 100644 (file)
@@ -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.