Browse Source

Disable X-Status Where debug is set to no

Jaap Marcus 4 years ago
parent
commit
9383d74d47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-add-fastcgi-cache

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

@@ -85,7 +85,7 @@ cat << EOF > $fastcgi
     set $no_cache 0;
 EOF
 
-if [ ! -z "$debug" ]; then
+if [ "$debug" = 'yes' ]; then
     echo "    add_header \"X-STATUS\" \"$status\";" >> $fastcgi
 fi