This commit is contained in:
parent
9f5bb8ce9f
commit
ec46bf2884
4 changed files with 29 additions and 5 deletions
6
deploy/etc/caddy/Caddyfile
Normal file
6
deploy/etc/caddy/Caddyfile
Normal file
|
@ -0,0 +1,6 @@
|
|||
:8087 {
|
||||
root * /var/www/html/public
|
||||
php_fastcgi unix//var/run/php-fpm.sock
|
||||
file_server
|
||||
encode zstd gzip
|
||||
}
|
10
deploy/etc/php83/php-fpm.d/www.conf
Normal file
10
deploy/etc/php83/php-fpm.d/www.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
[www]
|
||||
|
||||
user = nobody
|
||||
group = nobody
|
||||
listen = 9001
|
||||
pm = dynamic
|
||||
pm.max_children = 5
|
||||
pm.start_servers = 2
|
||||
pm.min_spare_servers = 1
|
||||
pm.max_spare_servers = 3
|
Loading…
Add table
Add a link
Reference in a new issue