- listen 80;\r
- server_name .openstreetmap.org api.openstreetmap.org;\r
- root /home/rails/public\r
-\r
- access_log /var/log/nginx/openstreetmap.org.access.log;\r
+ listen 80;\r
+ server_name .openstreetmap.org api.openstreetmap.org;\r
+ root /home/rails/public;\r
+ index index.html;\r
+ access_log /var/log/nginx/openstreetmap.org.access.log;\r
- #error_page 404 /404.html;\r
- # redirect server error pages to the static page /50x.html\r
- error_page 500 502 503 504 /50x.html;\r
- location = /50x.html {\r
- root /var/www/nginx-default;\r
- }\r
-\r
+ #error_page 404 /404.html;\r
+ # redirect server error pages to the static page /50x.html\r
+ error_page 500 502 503 504 /50x.html;\r
+ location = /50x.html {\r
+ root /var/www/nginx-default;\r
+ }\r