Enable the ipv6

36 views
Skip to first unread message

narendra n

unread,
Feb 21, 2022, 6:57:36 AMFeb 21
to openre...@googlegroups.com
Hi team, 

I have install openresty using
 yum install openresty \
 && yum install openresty-resty. 

When I check the nginx -V
In the output I haven't find the ipv6. Can any one help how to enable the ipv6? 

In the nginx-template.conf configure like below
       server {
             listen  80;
             listen [::]:80;
       location {}
             resolver <ipv6 address>
             proxy pass  http://<target host>



Regards
Naren

Junlong li

unread,
Mar 3, 2022, 12:37:23 AMMar 3
to openresty-en
ipv6 is enabled by default. 
your config is OK.
Reply all
Reply to author
Forward
0 new messages