We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05a5824 commit 0b26d3bCopy full SHA for 0b26d3b
func/rebuild.sh
@@ -147,6 +147,15 @@ rebuild_user_conf() {
147
# WEB domain rebuild
148
rebuild_web_domain_conf() {
149
150
+ # Ensure that global domain folders are available
151
+
152
+ if [ ! -d /etc/$WEB_SYSTEM/conf.d/domains ]; then
153
+ mkdir -p /etc/$WEB_SYSTEM/conf.d/domains
154
+ fi
155
+ if [ ! -d /etc/$PROXY_SYSTEM/conf.d/domains ]; then
156
+ mkdir -p /etc/$PROXY_SYSTEM/conf.d/domains
157
158
159
get_domain_values 'web'
160
is_ip_valid $IP
161
prepare_web_domain_values
0 commit comments