Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

my Nginx report in error log with

2012/07/24 13:00:16 [notice] 19056#0: *3275841 "^(GET|HEAD|POST)$" matches "GET", client:, server: _, request: "GET /template/images/loading.gif HTTP/1.1", host: "", referrer: ""</code></pre>

And in nginx.conf

server {
    if ($request_method !~ ^(GET|HEAD|POST)$ ) {
        return 404;

I don't know why nginx noticed that in error_log

share|improve this question

1 Answer 1

Because your error log level is notice, info or debug.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.