nginx.conf 433 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 localhost;
  13. location / {
  14. try_files $uri $uri/ /index.html;
  15. root /opt/app/build;
  16. index index.html;
  17. }
  18. }
  19. }