Просмотр исходного кода

Update v-add-fastcgi-cache (#2870)

Debugging with X-STATUS was removed in commit #2183. No point in having unneeded info in the script.
https://github.com/cmstew/hestiacp/commit/2ee38eb76870b2ab4e62ac55c560fdd80f188732
cmstew 3 лет назад
Родитель
Сommit
c09855fecf
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      bin/v-add-fastcgi-cache

+ 3 - 3
bin/v-add-fastcgi-cache

@@ -1,12 +1,12 @@
 #!/bin/bash
 # info: Enable FastCGI cache for nginx
-# options: USER DOMAIN [DURATION] [DEBUG] [RESTART]
+# options: USER DOMAIN [DURATION] [RESTART]
 #
 # example: v-add-fastcgi-cache user domain.tld 30m
 #
 # This function enables FastCGI cache for nginx
 # Acceptable values for duration is time in seconds (10s) minutes (10m) or days (10d)
-# Add "yes" as last parameter to append debug information to response headers
+# Add "yes" as last parameter to restart nginx
 
 #----------------------------------------------------------#
 #                Variables & Functions                     #
@@ -30,7 +30,7 @@ source_conf "$HESTIA/conf/hestia.conf"
 #                    Verifications                         #
 #----------------------------------------------------------#
 
-check_args '2' "$#" 'USER DOMAIN [DURATION] [DEBUG] [RESTART]'
+check_args '2' "$#" 'USER DOMAIN [DURATION] [RESTART]'
 is_format_valid 'user' 'domain' 'restart'
 is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"