|
@@ -0,0 +1,26 @@
|
|
|
|
+server {
|
|
|
|
+ listen 39201;
|
|
|
|
+ listen [::]:39201;
|
|
|
|
+ server_name 133.96.95.30, 172.16.107.4, 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/house/resource-map/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;
|
|
|
|
+ }
|
|
|
|
+}
|