haishanh / yacd

Yet Another Clash Dashboard
http://yacd.haishan.me
MIT License
4.07k stars 724 forks source link

Docker以host模式部署怎么设置监听端口 #844

Open LunaticXJ opened 4 months ago

LunaticXJ commented 4 months ago

目前Docker以桥接方式部署,外网IPV6访问不了,想说以host方式部署,但是默认的监听端口怎么改成非80端口,有环境变量可以设置吗,或者Docker版本的默认监听端口可否不设置为80?

LunaticXJ commented 3 months ago

server { listen 80; server_name localhost;

配置文件是不是要加一行 listen [::]:80; 才能支持IPv6

LunaticXJ commented 3 months ago

用群晖自带的反向代理搞定了

sailorwee commented 2 months ago

怎么搞定的