index index.html;\r
access_log /var/log/nginx/openstreetmap.org.access.log;\r
\r
+ if ($host ~* api\.(.*)) {\r
+ rewrite ^/(0\.[0-9]+)/(.*)$ /api/$1/$2\r
+ }\r
+\r
location / {\r
deny 143.210.16.160;\r
allow all; \r
location /trac/ {\r
rewrite ^/trac/(.*)$ http://trac.openstreetmap.org/$1 permanent;\r
}\r
+\r
location /wiki/ {\r
rewrite ^/wiki/(.*)$ http://wiki.openstreetmap.org/$1 permanent;\r
}\r