server { listen 80; # path to files for serve root /usr/share/nginx/html; location / { try_files $uri $uri/ /index.html; } }