2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 18:27:13 +08:00

feat: website controller

This commit is contained in:
耗子
2023-07-20 01:03:05 +08:00
parent 46644c352d
commit ec7138ae2a
8 changed files with 758 additions and 24 deletions

View File

@@ -57,7 +57,7 @@ if [ -d "/www/server/php/82" ]; then
fi
# 写入 phpMyAdmin 配置文件
cat >/www/server/vhost/openresty/phpmyadmin.conf <<EOF
cat >/www/server/vhost/phpmyadmin.conf <<EOF
# 配置文件中的标记位请勿随意修改,改错将导致面板无法识别!
# 有自定义配置需求的,请将自定义的配置写在各标记位下方。
server
@@ -100,8 +100,8 @@ server
}
EOF
# 设置文件权限
chown -R root:root /www/server/vhost/openresty/phpmyadmin.conf
chmod -R 644 /www/server/vhost/openresty/phpmyadmin.conf
chown -R root:root /www/server/vhost/phpmyadmin.conf
chmod -R 644 /www/server/vhost/phpmyadmin.conf
# 放行端口
firewall-cmd --permanent --zone=public --add-port=888/tcp >/dev/null 2>&1