diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-07-22 08:06:48 +0000 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-07-22 08:06:48 +0000 |
commit | dfb5f4621ec503bcdf226df3e93eca4fab41e066 (patch) | |
tree | 1c7cd7fd80f0d0bafb9fcbb1e5b48cbc6d9e6bd1 /etc | |
parent | 262324723a6833441515be86729579041a28c0b9 (diff) |
nginx set worker_processes to auto
Which seems is how many cpu cores I have. To try to improve performance.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nginx/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index 73ff11e0..7e54af48 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -1,6 +1,6 @@ #user http; -worker_processes 1; +worker_processes auto; #error_log logs/error.log; #error_log logs/error.log notice; |