server { # staging server is listening on the port 8080 listen 80 ; server_name _; root /usr/share/nginx/html/; location / { try_files $uri$args /index.html; } }