System Check Force SSL Connection not working

Hi

I would like to force SSL connections on my Matomo installation now that it shows up as task to fix in the Systems Check. In the config.ini.php file I have added force_ssl = 1 under General but the system check still says that this is not set. Is this a bug or can I fix it some other way?

Thanks for the help in advance.