feat: openresty 隐藏版本号 (#66)
This commit is contained in:
parent
b2f35b5c30
commit
cda525a0a2
|
|
@ -14,7 +14,7 @@ http {
|
|||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
server_tokens off;
|
||||
access_log /var/log/nginx/access.log main;
|
||||
access_log /dev/stdout main;
|
||||
sendfile on;
|
||||
|
|
|
|||
Loading…
Reference in New Issue