Hey guys,
we are hosting a cms on our plesk driven servers. (plesk 12.5 - debian 7 up2date)
While we want to switch to nginx and php7 per fpm, we are searching for a solution to set nginx-rewrite rules automatically.
the only solution we found is setting the config manually in "additional nginx directives". the website works fine with that but, is there any way to set this automatically via api or script?
we also tried to write config file at "/var/www/vhosts/system/###domain###/conf/vhost_nginx.conf and reconfigure the domain, but in that way php script are not parsed by php (source code response).
any suggestions?
Kind regards
we are hosting a cms on our plesk driven servers. (plesk 12.5 - debian 7 up2date)
While we want to switch to nginx and php7 per fpm, we are searching for a solution to set nginx-rewrite rules automatically.
the only solution we found is setting the config manually in "additional nginx directives". the website works fine with that but, is there any way to set this automatically via api or script?
we also tried to write config file at "/var/www/vhosts/system/###domain###/conf/vhost_nginx.conf and reconfigure the domain, but in that way php script are not parsed by php (source code response).
any suggestions?
Kind regards