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
|
@ -0,0 +1 @@
|
|||
Make sure the SPA Manifest is fetched using the right protocol (#2151)
|
|
@ -163,6 +163,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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -163,7 +163,8 @@ http {
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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…
Reference in New Issue