mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
18b01ec718e5ebc9d8da877a72f2fc7007be9789
nginx only binds an IPv4 socket, if the listen option is specified without [::]. There are two possibilites to fix this issue. Either the listen option can be specified using only [::], and additionally including ipv6only=off. This makes nginx bind an IPv6 socket which is also able to handle IPv4 connections. Or the listen option can be specified twice, one with [::] and one without. This makes nginx bind two independent sockets. If the first option is chosen, IPv4 addresses are mapped into the IPv6 address space, which might break scripts, filters, etc. So, for now, the second option is chosen.
Description
Languages
Rust
63.4%
Vue
17.2%
TypeScript
8.2%
C
6.4%
C++
3.7%
Other
1%