Skip to content

Commit ac8b441

Browse files
author
Mike
committed
set secure to false when SSL_SELF_SIGNED=false
1 parent b6146c2 commit ac8b441

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ if ${SSL_SELF_SIGNED:=true}; then
3737
ln -s /etc/nginx/sites-available/fbctf-ssl.conf /etc/nginx/sites-enabled/fbctf-ssl.conf
3838
else
3939
ln -s /etc/nginx/sites-available/fbctf.conf /etc/nginx/sites-enabled/fbctf.conf
40+
sed -i -r -e '/private static bool \$s_secure/ {s/true/false/}' /var/www/fbctf/src/SessionUtils.php
4041
fi
4142

4243
# Forward request and error logs to docker log collector

0 commit comments

Comments
 (0)