Skip to content

Commit 9383d74

Browse files
committed
Disable X-Status Where debug is set to no
1 parent c5309c1 commit 9383d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-fastcgi-cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ cat << EOF > $fastcgi
8585
set $no_cache 0;
8686
EOF
8787

88-
if [ ! -z "$debug" ]; then
88+
if [ "$debug" = 'yes' ]; then
8989
echo " add_header \"X-STATUS\" \"$status\";" >> $fastcgi
9090
fi
9191

0 commit comments

Comments
 (0)