Nginx sends syslog messages with the name of the server - I would like the ip

Mik J mikydevel at
Sun Dec 11 00:02:00 UTC 2022


My Nginx server sends syslogs to my remote syslog server with a host =
However I would like that the host to be the IP a specific IP of the server (which exists)

On my Nginx server
server {
access_log syslog:server=;
error_log syslog:server=;

Is it possible that the syslog hostname in the message is set to (the IP address of the Nginx server) ?


More information about the nginx mailing list