Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

nginx write to log 200 instead of 204

$
0
0
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?

Viewing all articles
Browse latest Browse all 972


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>