TLS setting are changed too late in Nginx conf
During first (re)configuration with funkwhale_letsencrypt_enabled: false
even if funkwhale_protocol: http
is set or funkwhale_ssl_cert_path
and funkwhale_ssl_key_path
are specified the process will fail at Nginx
TASK [funkwhale : Start Nginx] fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Unable to start service nginx: Job for nginx.service failed because the control process exited with error code.\nSee \"systemctl status nginx.service\" and \"journalctl -xe\" for details.\n"}
as Nginx will seek for a valid certificate in /etc/letsencrypt/live/[funkwhale.instance.domain]
and only after it will find it (naturally or following a symbolic link to a true location) the appropriate changes in the Nginx configuration file will be made. If you don't realise that and want to install Funkwhale without TLS or with nonstandard certificate path you are out of luck.