On Sunday 02 October 2011 16:52:56 Валентин Бартенев wrote: > location \.php$ { return 404; } - location \.php$ { return 404; } + location ~ \.php$ { return 404; }