configure pools, re-place domain var
This commit is contained in:
@@ -61,7 +61,7 @@ server {
|
||||
fastcgi_param front_controller_active true;
|
||||
fastcgi_send_timeout 1200;
|
||||
fastcgi_read_timeout 1200;
|
||||
fastcgi_pass unix:/run/php/php-fpm.sock;
|
||||
fastcgi_pass unix:/run/php/php-cloud.sock;
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_request_buffering off;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ server {
|
||||
}
|
||||
location ~ .*.php$ {
|
||||
include /etc/nginx/fastcgi.conf;
|
||||
fastcgi_pass unix:/run/php/php-fpm.sock;
|
||||
fastcgi_pass unix:/run/php/php-other.sock;
|
||||
fastcgi_index index.php;
|
||||
}
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
|
||||
|
||||
@@ -33,7 +33,7 @@ server {
|
||||
location ^~ /.well-known/acme-challenge { }
|
||||
location ~ .*.php$ {
|
||||
include /etc/nginx/fastcgi.conf;
|
||||
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||
fastcgi_pass unix:/run/php/php-other.sock;
|
||||
fastcgi_index index.php;
|
||||
}
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
|
||||
|
||||
@@ -26,7 +26,7 @@ server {
|
||||
}
|
||||
location ~ .*.php$ {
|
||||
include /etc/nginx/fastcgi.conf;
|
||||
fastcgi_pass unix:/run/php/php-fpm.sock;
|
||||
fastcgi_pass unix:/run/php/php-wiki.sock;
|
||||
fastcgi_index index.php;
|
||||
}
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
---
|
||||
domain: zz777.ru
|
||||
# domain: zz777.ru
|
||||
root: /var/www
|
||||
Reference in New Issue
Block a user