nginx-location.conf 535 B

1234567891011121314151617
  1. location /ui {
  2. proxy_pass http://localhost:3000;
  3. proxy_set_header X-Forwarded-Proto $scheme;
  4. proxy_set_header X-Forwarded-Port 443;
  5. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  6. proxy_set_header Host $host;
  7. proxy_redirect off;
  8. }
  9. location / {
  10. proxy_pass http://localhost:8000;
  11. proxy_set_header X-Forwarded-Proto $scheme;
  12. proxy_set_header X-Forwarded-Port 443;
  13. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  14. proxy_set_header Host $host;
  15. proxy_redirect off;
  16. }