Welcome! Log In Create A New Profile

Advanced

Re: configuration nginx server block [virtual host] with Ipv6.

Francis Daly
March 09, 2017 05:38PM
On Thu, Mar 09, 2017 at 03:10:13PM -0500, Vanhels wrote:

Hi there,

> Hi, I have installed nginx + php-fpm (php5.4 / php5.6), i'm trying to set
> everything up for ipv6 in Centos 7.3, install from official nginx repo:

What part fails for you?

Does nginx listen on the IPv6 port? Does the client connect to nginx? Does
the fastcgi server listen on the IPv6 port? Does nginx connect to the
fastcgi server?

You suggest that something is bad with

> listen [::]:80;
> fastcgi_pass [::]:9056;

but is good with

> Listen 80;
> fastcgi_pass 127.0.0.1:9056;

One difference there is that your fastcgi_pass in IPv4 connects to an
address:port, while in IPv6 it does not.

I would guess that using [::1]:9056 might have a chance of helping.

But only if you can already fetch a file from nginx on IPv6 when fastcgi
is not involved.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

configuration nginx server block [virtual host] with Ipv6.

Vanhels March 09, 2017 03:10PM

Re: configuration nginx server block [virtual host] with Ipv6.

Francis Daly March 09, 2017 05:38PM

Re: configuration nginx server block [virtual host] with Ipv6.

Vanhels March 09, 2017 06:06PM

Re: configuration nginx server block [virtual host] with Ipv6.

Francis Daly March 10, 2017 08:02PM

Re: configuration nginx server block [virtual host] with Ipv6.

Vanhels March 10, 2017 08:08PM

Re: configuration nginx server block [virtual host] with Ipv6.

Francis Daly March 10, 2017 08:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready