security(docker): hide nginx version (#6617)

This commit is contained in:
Tim Lai
2020-11-13 11:12:46 -08:00
committed by GitHub
parent 0ff941950d
commit 6fe9658ef0

View File

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