feat: 修改nginx默认配置

This commit is contained in:
zhengkunwang223 2022-12-21 17:37:05 +08:00 committed by zhengkunwang223
parent b72be7f8cc
commit fd748c78cb

View file

@ -2,6 +2,7 @@ user root;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
error_log /dev/stdout notice;
pid /var/run/nginx.pid;
@ -19,6 +20,7 @@ http {
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
access_log /dev/stdout main;
sendfile on;
server_names_hash_bucket_size 512;