mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-09 15:06:37 +08:00
feat: 修改nginx默认配置
This commit is contained in:
parent
b72be7f8cc
commit
fd748c78cb
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue