rudler-rocks
New Pleskian
Hello,
we are facing a problem where we can not find a suitable Solution.
We have magento2 installed with php fpm 7.0.16 and nginx.
No we have a config we need to insert. For now my thoughts were to change the nginx.conf in /var/www/vhosts/system/XXX/conf to:
server {
listen 80;
server_name bobicraft.de;
set $MAGE_ROOT /var/www/vhosts/XXX/httpdocs/;
set $MAGE_MODE default;
include /var/www/vhosts/XXX/httpdocs/nginx.conf.sample;
}
This works until we restart the service and the file is newly generated.
Is there a way to completely disable the auto generation for the nginx config file so we can just use our config. Any other solution wich fixes our problem would also be fine.
I already tried to insert the config from the nginx.conf.sample into the plesk backend for the domain but then we are facing duplicate entries for root and "/" and so on.
Thank you so much for any solution.
we are facing a problem where we can not find a suitable Solution.
We have magento2 installed with php fpm 7.0.16 and nginx.
No we have a config we need to insert. For now my thoughts were to change the nginx.conf in /var/www/vhosts/system/XXX/conf to:
server {
listen 80;
server_name bobicraft.de;
set $MAGE_ROOT /var/www/vhosts/XXX/httpdocs/;
set $MAGE_MODE default;
include /var/www/vhosts/XXX/httpdocs/nginx.conf.sample;
}
This works until we restart the service and the file is newly generated.
Is there a way to completely disable the auto generation for the nginx config file so we can just use our config. Any other solution wich fixes our problem would also be fine.
I already tried to insert the config from the nginx.conf.sample into the plesk backend for the domain but then we are facing duplicate entries for root and "/" and so on.
Thank you so much for any solution.