Loading... A 监听 ipv6,想反代不支持 ipv6 的网站 B,结果报错:failed (97: Address family not supported by protocol) ``` listen [::]:443 ssl http2; listen 443 ssl http2; location / { proxy_redirect off; proxy_bind $server_addr; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Scheme $scheme; proxy_pass http://127.0.0.1:9093; } ``` 请教如何实现呢? 【已解决】 找到原因了,删掉这个就好了:`proxy_bind $server_addr;` Last modification:June 22, 2021 © Allow specification reprint Like 如果觉得我的文章对你有用,请随意赞赏