In: https://wiki.openstreetmap.org/wiki/Overpass_API/Installation I can read: Setting up the Web API only for apache Is it possible dispatcher daemon running for Nginx? can you help me with an example of nginx.conf? nginx.conf
events { worker_connections 1024; } http { include mime.types;
} wget --output-document=test.xml http://localhost:8000/api/interpreter?data=%3Cprint%20mode=%22body%22/%3E --2016-08-14 18:07:38-- http://localhost:8000/api/interpreter?data=%3Cprint%20mode=%22body%22/%3E Petición HTTP enviada, esperando respuesta... 200 OK Longitud: 1983984 (1,9M) [application/octet-stream] Grabando a: “test.xml” test.xml 100%[======================================================================>] 1,89M --.-KB/s in 0,004s 2016-08-14 18:07:38 (488 MB/s) - “test.xml” guardado [1983984/19839 however in browser (Google chrome) remote: 405 Not Allowed asked 13 Aug '16, 17:59 arcadio ortega |
write this
instead of
answered 15 Aug '16, 09:13 arcadio ortega |
cross-posted: https://stackoverflow.com/questions/38944826/overpass-api-with-nginx