Error adding IPV6 - Nginx

ram0ng1

Verified User
Joined
Jul 4, 2021
Messages
25
Location
Brasil
Right after adding IPV6 on the server I get the error when applying the reconfiguration in nginx

Code:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] bind() to [fe80::ff:fe5f:d30]:80 failed (22: Invalid argument)
nginx: configuration file /etc/nginx/nginx.conf test failed



I've already looked in the nginx documentation, but no matter what I do, if I lie IPV6 it keeps showing this error.

If I remove IPV6 from the server, everything works normally again.

Could someone give me a light on how I can add IPV6 in NGINX?
 
Back
Top