> location = /index.html { > root /home/www; > } Looks like it worked. Thanks.by fritz - Nginx Mailing List - English
Hi. If URI is "/" I need to show index.html. Else I need to execute a php script. According to http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#location my config looks like this: server { listen 80; server_name localhost; location = / { root /home/www; index index.html; } locaby fritz - Nginx Mailing List - English