L
L
LeMaX2017-03-03 11:16:29
Nginx
LeMaX, 2017-03-03 11:16:29

Why did nginx stop writing access logs for ipv4?

Good afternoon, colleagues!
Such a question, after reconfiguring nginx to work with ipv6 addresses, nginx itself stopped writing logs for ipv4 addresses...
The configuration is standard:


listen [::]:443 ssl http2;
server_name domain.com;
......
error_log /var/log/nginx/domains/domain.com.error.log error;
access_log /var/log/nginx/domains/domain.com.access.log compression;
......

But unfortunately, access.log contains only logs that requests that originate from clients with ipv6, information from ipv4 clients does not get into the logs ... Who faced?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Axian Ltd., 2017-03-03
@AxianLTD

Doesn't it bother you that nginx is configured only for IPV6?
listen [::]:443 ssl http2;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question