mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 09:38:47 +08:00
feat: openresty 隐藏版本号 (#66)
This commit is contained in:
parent
8497e239c9
commit
08376e69d8
@ -14,7 +14,7 @@ http {
|
|||||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||||
'$status $body_bytes_sent "$http_referer" '
|
'$status $body_bytes_sent "$http_referer" '
|
||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
server_tokens off;
|
||||||
access_log /var/log/nginx/access.log main;
|
access_log /var/log/nginx/access.log main;
|
||||||
access_log /dev/stdout main;
|
access_log /dev/stdout main;
|
||||||
sendfile on;
|
sendfile on;
|
||||||
|
Loading…
Reference in New Issue
Block a user