server { listen 80 default_server; root /var/www/html/dist; index index.html; charset utf-8; location / { try_files $uri $uri/ /index.php?$query_string; } location = /favicon.ico { access_log off; log_not_found off; } location = /robots.txt { access_log off; log_not_found off; } access_log on; error_log /var/log/nginx/error.log error; sendfile off; client_max_body_size 100m; location ~ /\.ht { deny all; } }