Skip to content

Commit 36f1703

Browse files
committed
Rebuild config on rebuild
1 parent 1a341a6 commit 36f1703

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

func/rebuild.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ rebuild_web_domain_conf() {
289289
$BIN/v-delete-web-domain-ssl-hsts $user $domain no
290290
$BIN/v-add-web-domain-ssl-hsts $user $domain yes
291291
fi
292+
if [ "$FASTCGI_CACHE" = 'yes' ]; then
293+
$BIN/v-delete-fastcgi-cache $user $domain
294+
$BIN/v-add-fastcgi-cache $user $domain "$FASTCGI_DURATION"
295+
fi
292296

293297
# Adding proxy configuration
294298
if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then

0 commit comments

Comments
 (0)