baikal-docker
baikal-docker copied to clipboard
Insecure Cookies | Risk: 4.8
The cookie with the name 'PHPSESSID' does not have the flag 'secure' set. This may leak sensitive information.
PHP In PHP, configure the cookie settings for all delivered websites. Set the following in your /etc/php/php.ini file:
session.cookie_secure = 1
session.cookie_httponly = 1
A possible workaround is adding a header to your reverse proxy.
I have to check if making this change would break it for anyone who is not using HTTPS, but only HTTP. Granted, shouldn't be done, but I want to be very careful about breaking folk's existing setups.