default.conf 492 B

12345678910111213141516171819202122232425
  1. server {
  2. listen 80 default_server;
  3. root /var/www/html/dist;
  4. index index.html;
  5. charset utf-8;
  6. location / {
  7. try_files $uri $uri/ /index.php?$query_string;
  8. }
  9. location = /favicon.ico { access_log off; log_not_found off; }
  10. location = /robots.txt { access_log off; log_not_found off; }
  11. access_log on;
  12. error_log /var/log/nginx/error.log error;
  13. sendfile off;
  14. client_max_body_size 100m;
  15. location ~ /\.ht {
  16. deny all;
  17. }
  18. }