Nginx no tokens

This commit is contained in:
Wietse Wind
2023-10-07 03:31:02 +02:00
parent 2fda0ef392
commit 2f50c99308

View File

@@ -12,6 +12,9 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
server_tokens off;
server_name_in_redirect off;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';