Welcome! Log In Create A New Profile

Advanced

nginx write to log 200 instead of 204

Posted by facecast 
nginx write to log 200 instead of 204
July 22, 2019 07:50AM
I'm using the nginx-proxy.
It's return 204 when "not content" as configured. I can see 204 with curl request. But this action logged as 200 in access log.
Can I configure nginx to write 204 in log instead of 200 when it shows no content to user?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 103
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready