I was struggeling a bit to use yunohost on a different machine behind the nginx proxy manager of my server.
This is how I got it to work:
Use the HTTPS forward:
Request an SSL Ceriticate:
Set the advanced options:
location / {
proxy_pass https://10.8.0.2:443;
proxy_ssl_verify off;
proxy_set_header Host $host;
proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
}
So, if you want to run yunohost behind an nginx reverse proxy, this could be of help.
I also used this to disable the HTTPS that was enforced:
sudo yunohost settings set security.nginx.nginx_redirect_to_https -v no
But it seemed to have no effect.
See also: