Quantcast
Channel: Plesk 12.x for Linux
Viewing all articles
Browse latest Browse all 5117

change root nginx

$
0
0
I want to change the root directive on one of my subdomains with
Code:
root /home/mycoolsite.com/public_html;
By default plesk won't like that saying
Code:
Invalid nginx configuration: nginx: [emerg] "root" directive is duplicate in /var/www/vhosts/system/yyy.xxxx.com/conf/vhost_nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed
So after googling I found this...

change root nginx

Viewing all articles
Browse latest Browse all 5117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>