server {
server_tokens off
listen 80 default_server;
server_name localhost;
charset koi8-r;
access_log /var/log/nginx/log/host.access.log main;
location / {
root /usr/local/share/nginx/html/index.php;
index index.html index.htm index.php;
try_files index.php
}
error_page 404 /404.html;