Force HTTPS on WriteFreely

Hi, I hope you are well. I am experiencing problems with my WriteFreely instance, about the redirection to HTTPS. Previously it had not happened to me, only now I re-installed the application to configure it from scratch with a new domain and when I go to the web (, it directs me to the http version (without SSL certificate). I tried copying the information from another application I have installed (Navidrome) in “/etc/yunohost/apps/navidrome/conf/nginx.conf” where indeed is the configuration to force HTTPS, however, it did not work in writefreely.

Could it be something in the current version of the application?
I already reinstalled twice and didn’t get a different result. If anyone has had this happen and knows how to fix it, I appreciate your help.


My mistake, it was an identical file but in another directory which had to be edited (/etc/nginx/conf.d/

This is the code to add in case of similar problem:

Force usage of https

if ($scheme = http) {
    rewrite ^ https://$server_name$request_uri? permanent;
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.