|
@@ -0,0 +1,26 @@
|
|
|
|
+server {
|
|
|
|
+ listen 39203;
|
|
|
|
+ listen [::]:39203;
|
|
|
|
+ server_name localhost;
|
|
|
|
+
|
|
|
|
+ access_log access.log;
|
|
|
|
+ error_log error.log;
|
|
|
|
+
|
|
|
|
+ location / {
|
|
|
|
+ root /dist;
|
|
|
|
+ index index.html index.htm;
|
|
|
|
+ try_files $uri $uri/ /index.html;
|
|
|
|
+ }
|
|
|
|
+ # 后端
|
|
|
|
+ location /house-car/car/report/api {
|
|
|
|
+ proxy_pass http://172.16.107.4:39100;
|
|
|
|
+ }
|
|
|
|
+ # minio
|
|
|
|
+ location /house-car/oss {
|
|
|
|
+ proxy_pass http://172.16.107.4:39000;
|
|
|
|
+ }
|
|
|
|
+ # 百度地图
|
|
|
|
+ location /dugis-baidu {
|
|
|
|
+ proxy_pass http://172.16.107.4:39000;
|
|
|
|
+ }
|
|
|
|
+}
|