caddy -version)?Caddy 0.11.5 (non-commercial use only)
I want caddy to listen to v4 AND v6 different resolved addresses at the same time as it was 2-3 weeks ago..
http://v4.domain.tld:80, http://v6.domain.tld:80 {
#bind v4.domain.tld
#bind v6.domain.tld
root /home/tmh/caddy/web
gzip
log access.log
errors error.log
ipfilter / {
rule allow
blockpage def.html
database /home/tmh/caddy/geolite/GeoLite2-Country.mmdb
country RU UA LV EE IL US
}
gzip
gzip {
level 6
not /images /videos
}
}
sudo batchfile
batch file content:
cd /home/tmh/caddy/
ulimit -n 8192
/home/tmh/caddy/caddy -conf caddyfile &
exit
Two weeks ago I've running caddy old version (0.9.6 or something) - both v4 and v6 addresses worked well...v6 connections disappeared since then, and I re-installed caddy with fresh version mentioned earlier.
The main problem that only v4 -- OR -- v6 addresses are working, not both of them at the same time.
Don't know, really.
Still have no soliution, that is why I am issuing this problem...
So, when I use standard string http://v4.domain.tld:80, http://v6.domain.tld:80 - only v4 host is answering, so I see only v4 listening port:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
If I use bind for v4 AND v6 addresses, I see only v6 listening port:
tcp6 0 0 2001:..:80 :::* LISTEN 11107/caddy
If I comment out v6 bind string - I see again v4 listening port ONLY.
It still unclear - why v4 AND v6 started to ignore each other ?
I repeat - v4 and v6 addresses have different resolved names.
Private homepage.
Thank you for the issue.
Can anyone else reproduce this?
Will probably be fixed in Caddy 2 as we've rearchitected the listener facilities.
This new 1.0.0 version I got from download server is working nice - both addresses - v4 AND v6 - are answering now. Many thanks ! :)
So — is Caddy no longer 100% open source?
@wmark Of course it is. Our source code license has never changed. This is very off topic, so please continue that discussion in our forums: https://caddy.community
Most helpful comment
Will probably be fixed in Caddy 2 as we've rearchitected the listener facilities.