fix: Make sure the SPA Manifest is fetched using the right protocol
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2468>
This commit is contained in:
parent
da2d3ee7f1
commit
8698f2d17c
4 changed files with 7 additions and 3 deletions
|
|
@ -128,6 +128,7 @@ server {
|
|||
}
|
||||
|
||||
location /manifest.json {
|
||||
return 302 /api/v1/instance/spa-manifest.json;
|
||||
# If the reverse proxy is terminating SSL, nginx gets confused and redirects to http, hence the full URL
|
||||
return 302 ${FUNKWHALE_PROTOCOL}://${FUNKWHALE_HOSTNAME}/api/v1/instance/spa-manifest.json;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue