Page 1 of 1

Sendy in Myvesta

Posted: Mon Feb 08, 2021 8:32 am
by azlanirda
before this i use vestacp with apache...

sendy works fine...

than i change to vesta with nginx and php-fpm...
have to change the template to accomodate with sendy (there is a template for it)

i just migrate to myvesta....

how to make sendy works in myvesta as it shows 404 page...

thanks...

Re: Sendy in Myvesta

Posted: Mon Feb 08, 2021 8:41 am
by myVesta
take:
https://github.com/serghey-rodin/vesta/ ... sendy.stpl
https://github.com/serghey-rodin/vesta/ ... /sendy.tpl

put it in:
/usr/local/vesta/data/templates/web/nginx/sendy.stpl
/usr/local/vesta/data/templates/web/nginx/sendy.stpl

and modify those files like this:
https://forum.vestacp.com/viewtopic.php ... 129#p71226
(second post on that page)
just insead default.tpl use sendy.tpl

Re: Sendy in Myvesta

Posted: Mon Feb 08, 2021 9:32 am
by azlanirda
thanks for the reply...

i manage to get the files... but for the modified part, will try again...

just now not sure where to modify...

do i need to run all this?

chmod a+x /usr/local/vesta/data/templates/web/nginx/PHP-FPM-72.sh
sed -i "s#%web_port%#%proxy_port%#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-72.tpl
sed -i "s#%web_ssl_port%#%proxy_ssl_port%#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-72.stpl
sed -i "s#%backend_lsnr%#unix:/run/php/php7.2-fpm-%domain%.sock#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-72.tpl
sed -i "s#%backend_lsnr%#unix:/run/php/php7.2-fpm-%domain%.sock#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-72.stpl
sed -i "s#/var/log/nginx/#/var/log/%web_system%/#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-72.tpl
sed -i "s#/var/log/nginx/#/var/log/%web_system%/#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-72.stpl

Re: Sendy in Myvesta

Posted: Mon Feb 08, 2021 10:50 am
by myVesta

Code: Select all

wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/debian/9/templates/web/nginx/php-fpm/sendy.tpl -O /usr/local/vesta/data/templates/web/nginx/PHP-FPM-73-Sendy.tpl
wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/debian/9/templates/web/nginx/php-fpm/sendy.stpl -O /usr/local/vesta/data/templates/web/nginx/PHP-FPM-73-Sendy.stpl
wget http://dl.myvestacp.com/vesta/php-fpm-tpl/PHP-FPM-73.sh -O /usr/local/vesta/data/templates/web/nginx/PHP-FPM-73-Sendy.sh
chmod a+x /usr/local/vesta/data/templates/web/nginx/PHP-FPM-73-Sendy.sh
sed -i "s#%web_port%#%proxy_port%#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-73-Sendy.tpl
sed -i "s#%web_ssl_port%#%proxy_ssl_port%#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-73-Sendy.stpl
sed -i "s#%backend_lsnr%#unix:/run/php/php7.3-fpm-%domain%.sock#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-73-Sendy.tpl
sed -i "s#%backend_lsnr%#unix:/run/php/php7.3-fpm-%domain%.sock#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-73-Sendy.stpl
sed -i "s#/var/log/nginx/#/var/log/%web_system%/#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-73-Sendy.tpl
sed -i "s#/var/log/nginx/#/var/log/%web_system%/#g" /usr/local/vesta/data/templates/web/nginx/PHP-FPM-73-Sendy.stpl

Re: Sendy in Myvesta

Posted: Tue Feb 09, 2021 1:56 am
by azlanirda
thanks a lot dpeca..

really appreciate it

Re: Sendy in Myvesta

Posted: Tue Feb 09, 2021 8:27 am
by myVesta
is it working?

Re: Sendy in Myvesta

Posted: Tue Feb 09, 2021 8:33 am
by azlanirda
Yes. It is working...

Configuring another dedicated server with myvesta... :)

Re: Sendy in Myvesta

Posted: Tue Feb 09, 2021 8:59 am
by myVesta
Great, glad to help :)