File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,7 @@ if [ -z "$FASTCGI_LENGTH" ]; then
108108fi
109109
110110# Set FastCGI cache flag to enabled
111- update_object_value ' web' ' DOMAIN' " $domain " ' $FASTCGI_CACHE' ' yes'
112- update_object_value ' web' ' DOMAIN' " $domain " ' $FASTCGI_LENGTH' " $length "
111+ update_object_value ' web' ' DOMAIN' " $domain " ' $FASTCGI_CACHE' " $length "
113112
114113if [ " $restart " = " yes" ]; then
115114 # Restart web server
Original file line number Diff line number Diff line change 6868if [ -z " $FASTCGI_CACHE " ]; then
6969add_object_key " web" ' DOMAIN' " $domain " ' FASTCGI_CACHE' ' ALIAS'
7070fi
71- if [ -z " $FASTCGI_LENGTH " ]; then
72- add_object_key " web" ' DOMAIN' " $domain " ' FASTCGI_LENGTH' ' ALIAS'
73- fi
7471
7572# Set FastCGI cache flag to enabled
76- update_object_value ' web' ' DOMAIN' " $domain " ' $FASTCGI_CACHE' ' '
77- update_object_value ' web' ' DOMAIN' " $domain " ' $FASTCGI_LENGTH' ' '
73+ update_object_value ' web' ' DOMAIN' " $domain " ' $FASTCGI_CACHE' ' '
7874
7975# Restart web server
8076if [ ! -z " $restart " ]; then
You can’t perform that action at this time.
0 commit comments