debian stable, nginx version: nginx/1.14.2
I get the following error message (error.log) : connect() failed (91: Protocol wrong type for socket)
configuration file :
access_log syslog:server=unix:/var/log/nginx/test.sock;
extra info:
- I listen to socket like so: socat - unix-listen:/var/log/nginx/test.sock
- I have made sure nginx has sufficient access rights to write (chmod 777 for testing)
- logging to UDP & TCP works fine
- selinux is disabled by default in debian stable