Обновить hestiacp_install
This commit is contained in:
parent
04e5d9f6d6
commit
933470165f
@ -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
|
# touch /usr/local/hestia/data/templates/web/php-fpm/rfclass_default.tpl
|
||||||
|
|
||||||
# mcedit /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%]
|
[%backend%]
|
||||||
listen = /run/php/php%backend_version%-fpm-%domain%.sock
|
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
|
# 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
|
# v-change-web-domain-docroot $USERNAME $DOMAIN $DOMAIN web
|
||||||
|
# exit
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user