- Server operating system version
- CentOS 7.9
- Plesk version and microupdate number
- 18.0.46
I operate Nextcloud(It is not a Plesk application) and I'm currently rechecking my configuration.
I have specified "fastcgi_pass php-handler;" in nginx additional directives. Then I create nc.conf in /etc/nginx/conf.d and write upstrem in it.
Is this approach correct? Is there a more Plesk-like, Plesk legitimate way?
Suppose Nextcloud is operating under a subdomain called NC-DOMAIN.
I have specified "fastcgi_pass php-handler;" in nginx additional directives. Then I create nc.conf in /etc/nginx/conf.d and write upstrem in it.
Is this approach correct? Is there a more Plesk-like, Plesk legitimate way?
Suppose Nextcloud is operating under a subdomain called NC-DOMAIN.
Code:
upstream php-handler {
server unix:///var/www/vhosts/system/NC-DOMAIN/php-fpm.sock;
}