1
0
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:
Hunter T.
2025-08-25 14:28:06 -07:00
committed by GitHub
parent 29b47d95dc
commit 32f324dbb5

View File

@@ -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