Skip to content

Commit c09855f

Browse files
authored
Update v-add-fastcgi-cache (hestiacp#2870)
Debugging with X-STATUS was removed in commit hestiacp#2183. No point in having unneeded info in the script. cmstew@2ee38eb
1 parent 0a971c3 commit c09855f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/v-add-fastcgi-cache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22
# info: Enable FastCGI cache for nginx
3-
# options: USER DOMAIN [DURATION] [DEBUG] [RESTART]
3+
# options: USER DOMAIN [DURATION] [RESTART]
44
#
55
# example: v-add-fastcgi-cache user domain.tld 30m
66
#
77
# This function enables FastCGI cache for nginx
88
# Acceptable values for duration is time in seconds (10s) minutes (10m) or days (10d)
9-
# Add "yes" as last parameter to append debug information to response headers
9+
# Add "yes" as last parameter to restart nginx
1010

1111
#----------------------------------------------------------#
1212
# Variables & Functions #
@@ -30,7 +30,7 @@ source_conf "$HESTIA/conf/hestia.conf"
3030
# Verifications #
3131
#----------------------------------------------------------#
3232

33-
check_args '2' "$#" 'USER DOMAIN [DURATION] [DEBUG] [RESTART]'
33+
check_args '2' "$#" 'USER DOMAIN [DURATION] [RESTART]'
3434
is_format_valid 'user' 'domain' 'restart'
3535
is_object_valid 'user' 'USER' "$user"
3636
is_object_unsuspended 'user' 'USER' "$user"

0 commit comments

Comments
 (0)