I got it to this point by changing FUNKWALE_PROTOCOL
to http
and then I completed the steps under "Override default Nginx templates"
[upl-image-preview url=https://forum.funkwhale.audio/assets/files/2023-06-06/1686090079-919047-image.png]
So I guess my new question is...
It's still not loading the style/js because
Content Security Policy: The page’s settings blocked the loading of a resource at http://localhost/staticfiles/admin/js/nav_sidebar.js (“script-src”).
If I load it with 5000 port, the js will load. If things are supposed to be redirecting to or from port 80, they are not. If I ender any localhost:80 url, it will redirect to https and fail to load.
While I am here...
I thought I would point some other things out about the docs that are not related to my question.
the urls given in the instructions are wrong
curl -L -o /srv/funkwhale/nginx/funkwhale.template "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/${FUNKWHALE_VERSION}/deploy/docker.nginx.template"
curl -L -o /srv/funkwhale/nginx/funkwhale_proxy.conf "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/${FUNKWHALE_VERSION}/deploy/docker.funkwhale_proxy.conf"
In this case, https://dev.funkwhale.audio/funkwhale/funkwhale/raw/1.3.0/deploy/docker.nginx.template
leads to a file with this as the content: ../front/docker/funkwhale.conf.template
If you change it up to https://dev.funkwhale.audio/funkwhale/funkwhale/raw/1.3.0/front/docker/funkwhale.conf.template
you can get a file that seems to make sense so I used that one.
As for https://dev.funkwhale.audio/funkwhale/funkwhale/raw/1.3.0/deploy/docker.funkwhale_proxy.conf
. ... Well that is a 404, so I just went into the source code and looked for something with a name that seemed right, and ended up using https://dev.funkwhale.audio/funkwhale/funkwhale/-/raw/develop/deploy/funkwhale_proxy.conf
the filename referenced here is wrong
set -a && source /srv/funkwhale/config/.env && set +a
envsubst "`env | awk -F = '{printf \" $%s\", $$1}'`" \
< /etc/nginx/sites-available/funkwhale.template \
> /etc/nginx/sites-available/funkwhale.conf
Here the file in question does not exist. The correct file is /srv/funkwhale/.env
. In any case, I undid everything in this step because it doesn't seem to be needed if I just use the overrides.