diff --git a/config/nginx.conf b/config/nginx.conf index c65f8e00..c5058fd3 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -6,6 +6,8 @@ server { error_log /var/log/nginx/error.log; index index.php; + server_tokens off; # Hide nginx version + location ~ /(\.|vendor|tests) { deny all; return 403; # Forbidden