Lrnt
Basic Pleskian
I am running Plesk Onyx Version 17.8.11 on Debian 9.8.
I want to specify a custom root location for a subdomain.
This works well in Apache but not in nginx.
"root /var/www/vhosts/{mydomain}/httpdocs;" under nginx directives on the subdomain ({mysubdomain}) configuration give the error "ginx: [emerg] "root" directive is duplicate in /var/www/vhosts/system/{mysubdomain}/conf/vhost_nginx.conf:2 nginx: configuration file /etc/nginx/nginx.conf test failed
Has someone a solution for this?
Thanks
Temporary fix: disable nginx. but that's not a solution
I want to specify a custom root location for a subdomain.
This works well in Apache but not in nginx.
"root /var/www/vhosts/{mydomain}/httpdocs;" under nginx directives on the subdomain ({mysubdomain}) configuration give the error "ginx: [emerg] "root" directive is duplicate in /var/www/vhosts/system/{mysubdomain}/conf/vhost_nginx.conf:2 nginx: configuration file /etc/nginx/nginx.conf test failed
Has someone a solution for this?
Thanks
Temporary fix: disable nginx. but that's not a solution
Last edited: