Include restrictions.full

Include restrictions.full

/usr/local/etc/nginx/conf.d/restrictions.full
# Ne pas logger les requêtes vers favicon.ico location = /favicon.ico { log_not_found off; access_log off; } # Ne pas logger les requêtes vers robots.txt location = /robots.txt { allow all; log_not_found off; access_log off; } # deny running scripts inside writable directories location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ { return 403; error_page 403 /403_error.html; }