Size: a a a

2021 April 07

HF

Hugo Florentino in nginx_ru
OK, gimme a moment
источник

HF

Hugo Florentino in nginx_ru
https://pastebin.com/x5gQW1qc

(password: 9U2mUU9uDm)
источник

HF

Hugo Florentino in nginx_ru
This is exactly what I have right now, and If I enter the IP address in my browser, the log which receives the entry isn't the one declared in the default virtualhost, but the one in the virtualhost with $hostname as a server_name directive.
источник

HF

Hugo Florentino in nginx_ru
If in the default virtualhost I move the access_log directive from the location block to the server block (with no additional changes), requests are correctly logged.
источник

AN

Anton Noginov in nginx_ru
Try to disable headers / body parsing first.
источник

HF

Hugo Florentino in nginx_ru
I commented/removed the custom log format completely and the problem remains.
источник

AN

Anton Noginov in nginx_ru
Have you removed lua code from access handler, as well as custom-backed modules sitting on the same handler?
источник

HF

Hugo Florentino in nginx_ru
I commented the include of customlog.conf file and removed custom as format specifier in both access_log instructions.
источник

AN

Anton Noginov in nginx_ru
Valid point.
And the modules?
источник

HF

Hugo Florentino in nginx_ru
I never touched them, they must be as installed from the package in the official repo of Ubuntu.
источник

AN

Anton Noginov in nginx_ru
Just disable them.
источник

HF

Hugo Florentino in nginx_ru
OK, fair enough, I didn't try that.
источник

HF

Hugo Florentino in nginx_ru
Done. The problem remains.
источник

AN

Anton Noginov in nginx_ru
Cool
Ok then
Enable debug log and check it.

Please share also exact *.deb versions, will try to reproduce later.
источник

HF

Hugo Florentino in nginx_ru
$ apt list nginx* --installed
Listing... Done
nginx-common/focal-updates,focal-updates,now 1.18.0-0ubuntu1 all [installed,automatic]
nginx-light/focal-updates,now 1.18.0-0ubuntu1 amd64 [installed]
источник

HF

Hugo Florentino in nginx_ru
In which access.log ?
I removed the one in nginx.conf
источник

AN

Anton Noginov in nginx_ru
error_log ... debug;
источник

HF

Hugo Florentino in nginx_ru
OK
источник

HF

Hugo Florentino in nginx_ru
Do I upload the error.log file here gzipped ?
источник

AN

Anton Noginov in nginx_ru
Just check for your request, and share that part via pastebin
источник