mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-26 17:44:49 +02:00
[nginx.conf]: Set 'server_tokens off'; won't leak nginx version (#4681)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user