fix wrong comparison operator on HSTS check
This commit is contained in:
parent
a4a20ad471
commit
5ccc917d1b
@ -11,7 +11,7 @@ sed -i -e "s%<SERVER_NAMES>%${SERVER_NAMES}%" /etc/nginx/server_names.conf
|
|||||||
printf "done\n"
|
printf "done\n"
|
||||||
|
|
||||||
# activate HSTS
|
# activate HSTS
|
||||||
if [ "$HSTS" -eq TRUE ]; then
|
if [ "$HSTS" = TRUE ]; then
|
||||||
printf "Activating HSTS configuration... "
|
printf "Activating HSTS configuration... "
|
||||||
sed -i -e "s/^#add_header/add_header/" \
|
sed -i -e "s/^#add_header/add_header/" \
|
||||||
/etc/nginx/config/mozIntermediate_ssl.conf.disabled
|
/etc/nginx/config/mozIntermediate_ssl.conf.disabled
|
||||||
|
Loading…
Reference in New Issue
Block a user