@@ -11,7 +11,7 @@ services:
nginx:
image: "registry.cn-chengdu.aliyuncs.com/infish/pack-comm-nginx:1.23.1"
restart: always
- network_mode: host
+ # network_mode: host
ports:
- 18980:80
volumes:
@@ -22,7 +22,7 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
# real_client_ip = $realip_remote_addr;
- proxy_pass http://b97cb4bf0e31:8888/pay/;
+ proxy_pass http://pay:8888/pay/;
}