server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
port_in_redirect off;
root /data;
index index.html;
location /web {
alias /data/;
try_files $uri $uri/ /index.html;
}