Http to https forwarding on portainer

Hi,

I installed portainer with my letsencrypt certificate and am now trying to set up a permanent redirect from http to https. With a webserver I would do that with the .htaccess file, but how do I do that here ?

Thanks for your help.