security(docker): hide nginx version (#6617)
This commit is contained in:
@@ -22,6 +22,7 @@ http {
|
||||
map $request_method $access_control_max_age {
|
||||
OPTIONS 1728000; # 20 days
|
||||
}
|
||||
server_tokens off; # Hide Nginx version
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
|
||||
Reference in New Issue
Block a user