Session timeout


Not sure if this is due to an update or the fact that I activated 2FA on my account, but now I have to re-login everyday, was not the case before. I have no issue with the fact that the session timeout, but I would like to be after 24-48h of inactivity. Where can I change the session timeout value? (using NC 20 with Docker alpine-fpm image)


It could be in config.php
The default location is /etc/apache2/config/config.php and if you google about Nextcloud session timeout, you can easily know what config you need to add in config.php
Hope you get it!

Thanks for the answer, but I’m not using Apache, the fpm-alpine image use Nginx. Also through Docker, config files are not directly editable.