server { listen 8080; server_name localhost; root /var/www/draw; location / { try_files $uri $uri/ /index.html; index index.html index.htm; } }