server { listen ${NGINX_PORT}; server_name ${SERVER_NAME}; root /quartz/src/public; index index.html; error_page 404 /404.html; location / { try_files $uri $uri.html $uri/ =404; } }