I would like to create all websites in the same directory on centos 7 (/var/www/vhosts/thisdirectory/httpdocs)
For each website, I need one IP adress (so I can't create websites in the same subscription because all website in the same subscription have the same IP) and I need to have ssl with Lets Encrypt.
For now, I have done differents subscription and domains and put in "Apache & Nginx Settings" for each domains :
It's works well but not when I try to put ssl with Lets Encrypt (message is that LE can't find the file it create).
I think that Plesk create the directory .well-known/acme-challenge/ in the directory created by plesk : /var/www/vhosts/myfirstwebsite.com/httpdocs
I would like that plesk always put all websites in the same directory. Which file contains the structure of the creation of directory (/www/vhosts/%domain%/) ?
For each website, I need one IP adress (so I can't create websites in the same subscription because all website in the same subscription have the same IP) and I need to have ssl with Lets Encrypt.
For now, I have done differents subscription and domains and put in "Apache & Nginx Settings" for each domains :
Code:
DocumentRoot "/var/www/vhosts/thisdirectory/httpdocs"
ServerName www.myfirstwebsite.com
ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/www/vhosts/system/thisdirectory/php-fpm.sock|fcgi://127.0.0.1/var/www/vhosts/thisdirectory/httpdocs/$1
It's works well but not when I try to put ssl with Lets Encrypt (message is that LE can't find the file it create).
I think that Plesk create the directory .well-known/acme-challenge/ in the directory created by plesk : /var/www/vhosts/myfirstwebsite.com/httpdocs
I would like that plesk always put all websites in the same directory. Which file contains the structure of the creation of directory (/www/vhosts/%domain%/) ?