1
0

Обновить hestiacp_install

This commit is contained in:
kosenka 2025-04-08 10:17:32 +03:00
parent 04e5d9f6d6
commit 933470165f

View File

@ -35,12 +35,6 @@ adding hestia template for RFCLASS.RU and EIS.RFCLASS.RU:
# touch /usr/local/hestia/data/templates/web/php-fpm/rfclass_default.tpl
# mcedit /usr/local/hestia/data/templates/web/php-fpm/rfclass_default.tpl
; origin-src: deb/templates/web/php-fpm/default.tpl
;#=========================================================================#
;# Default Web Domain Template #
;# DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS #
;# https://hestiacp.com/docs/server-administration/web-templates.html #
;#=========================================================================#
[%backend%]
listen = /run/php/php%backend_version%-fpm-%domain%.sock
@ -72,6 +66,15 @@ save and exit
# v-change-web-domain-backend-tpl $USERNAME $DOMAIN $TEMPLATE
git...
*** relogin as $USERNAME
# cd /home/$USERNAME/web/$DOMAIN/public_html/
# rm /home/$USERNAME/web/$DOMAIN/public_html/index.html
# rm /home/$USERNAME/web/$DOMAIN/public_html/robots.txt
# git clone https://git.kosenka.ru/kosenka/$DOMAIN.git .
# php composer.phar install
# sudo su -
# v-change-web-domain-docroot $USERNAME $DOMAIN $DOMAIN web
# exit