diff --git a/admin_manual/installation/nginx_configuration.rst b/admin_manual/installation/nginx_configuration.rst index dab388b92..4d19056a2 100644 --- a/admin_manual/installation/nginx_configuration.rst +++ b/admin_manual/installation/nginx_configuration.rst @@ -118,3 +118,17 @@ Nginx Configuration - Remove **fastcgi_params HTTPS on;** .. note:: If you are using php-fpm please read :ref:`using_php-fpm` + +Suppressing Log Messages +------------------------ + +If you're seeing meaningless messages in your logfile, for example `client +denied by server configuration: /var/www/data/htaccesstest.txt +_`, add this section to +your Nginx configuration to suppress them:: + + location = /data/htaccesstest.txt { + allow all; + log_not_found off; + access_log off; + } \ No newline at end of file