I
I
ikerya2018-03-19 16:21:05
Nginx
ikerya, 2018-03-19 16:21:05

Why does the site not work through ipv6 (502, nginx)?

Hello.
I added AAAA records for the domain, configured the nginx web server as follows:

server {
  listen [::]:80 ipv6only=on;
  listen 80;

  server_name example.com www.example.com;

  root /var/www/default;

  location / {
    try_files $uri $uri/ =404;
  }
}

But the site still does not work, it gives an error 502. Hosters say that I have not added an address to the server, but I don’t quite understand where to add it, I’m setting up ipv6 for the first time.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question