default.conf 464 B

12345678910111213141516171819202122
  1. server {
  2. listen 39203;
  3. listen [::]:39203;
  4. server_name localhost;
  5. access_log access.log;
  6. error_log error.log;
  7. location / {
  8. root /dist;
  9. index index.html index.htm;
  10. try_files $uri $uri/ /index.html;
  11. }
  12. # 后端
  13. location /house-car/car/report/api {
  14. proxy_pass http://172.16.107.4:39100;
  15. }
  16. # minio
  17. location /house-car/oss {
  18. proxy_pass http://172.16.107.4:39000;
  19. }
  20. }