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...
Sendy in Myvesta
- myVesta
- Site Admin
- Posts: 932
- Joined: Fri Jun 19, 2020 9:59 am
- Has thanked: 8 times
- Been thanked: 6 times
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
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
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
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
- myVesta
- Site Admin
- Posts: 932
- Joined: Fri Jun 19, 2020 9:59 am
- Has thanked: 8 times
- Been thanked: 6 times
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