nginx.conf 474 B

123456789101112131415161718
  1. server {
  2. listen 80;
  3. server_name localhost;
  4. root /usr/share/nginx/html;
  5. index index.html;
  6. location / {
  7. try_files $uri $uri/ /index.html;
  8. }
  9. # location /api {
  10. # proxy_pass http://host.docker.internal:3000;
  11. # proxy_set_header Host $host;
  12. # proxy_set_header X-Real-IP $remote_addr;
  13. # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  14. # proxy_set_header X-Forwarded-Proto $scheme;
  15. # }
  16. }