diff --git a/bin/demosite.sh b/bin/demosite.sh
index 3d95aa3..d5e0e5b 100755
--- a/bin/demosite.sh
+++ b/bin/demosite.sh
@@ -35,9 +35,14 @@ app_download(){
docker-compose exec ${CONT_NAME} su -c "appinstallctl.sh -app ${1} -domain ${2} -vhname ${DEMO_VH}"
}
+lsws_restart(){
+ docker-compose exec ${CONT_NAME} su -c '/usr/local/lsws/bin/lswsctrl restart >/dev/null'
+}
+
main(){
store_credential ${DEMO_VH}
app_download ${APP_NAME} ${DOMAIN}
+ lsws_restart
}
while [ ! -z "${1}" ]; do
diff --git a/lsws/httpd_config.xml b/lsws/conf/httpd_config.xml
similarity index 97%
rename from lsws/httpd_config.xml
rename to lsws/conf/httpd_config.xml
index 4e97392..dd67049 100644
--- a/lsws/httpd_config.xml
+++ b/lsws/conf/httpd_config.xml
@@ -146,6 +146,12 @@
lsphp7
+
+ 7
+
+ /var/www/lscache/
+
+
35
PHP_LSAPI_CHILDREN=35