I installed Magento 2 into the root directory but Magento 2 has an own root folder named "rootdirectory/pub
" - it works.
But now I want to install Drupal 8 and extract in the "rootdirectory" and want to show this on Domain as subdirectory "blog
" e. g. domain.tld/blog
additional to Magento 2.
Magento root is configured as
root /var/www/vhosts/domain.tld/httpdocs/pub
Drupal I have placed in /var/www/vhosts/domain.tld/httpdocs/drupal
I could copy it into the Magento 2 pub directory but I think it is better to place it outside of the pub subfolder of Magento 2.
Maybe rewrite /drupal
on Domain to /blog
and make it reachable? Or I make the httpdocs/ as nginx vhost root and for Magento I give the /pub
folder the root in a location.
Anyone has an idea?