prod.nginx.conf 404 B

12345678910111213141516171819202122232425
  1. worker_processes 1;
  2. events {
  3. worker_connections 1024;
  4. }
  5. http {
  6. include /etc/nginx/mime.types;
  7. default_type application/octet-stream;
  8. sendfile off;
  9. keepalive_timeout 65;
  10. server {
  11. listen 80;
  12. server_name _;
  13. root /opt/app/dist;
  14. location / {
  15. try_files $uri /build/$uri /build/index.html =404;
  16. }
  17. }
  18. }