fix(front): add missing changes to front/docker/funkwhale.conf.template and docker/nginx/conf.dev
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2039>
This commit is contained in:
parent
e71003dbe0
commit
8857c40a8d
|
@ -76,14 +76,14 @@ http {
|
|||
text/x-cross-domain-policy;
|
||||
# end of compression settings
|
||||
|
||||
location / {
|
||||
location /api/ {
|
||||
include /etc/nginx/funkwhale_proxy.conf;
|
||||
# This is needed if you have file import via upload enabled.
|
||||
client_max_body_size ${NGINX_MAX_BODY_SIZE};
|
||||
proxy_pass http://funkwhale-api/;
|
||||
}
|
||||
|
||||
location /front/ {
|
||||
location / {
|
||||
proxy_pass http://funkwhale-front/front/;
|
||||
expires 1d;
|
||||
}
|
||||
|
|
|
@ -48,16 +48,17 @@ server {
|
|||
text/x-cross-domain-policy;
|
||||
# end of compression settings
|
||||
|
||||
location / {
|
||||
location /api/ {
|
||||
include /etc/nginx/funkwhale_proxy.conf;
|
||||
# This is needed if you have file import via upload enabled.
|
||||
client_max_body_size ${NGINX_MAX_BODY_SIZE};
|
||||
proxy_pass http://funkwhale-api/;
|
||||
}
|
||||
|
||||
location /front/ {
|
||||
location / {
|
||||
alias /usr/share/nginx/html/;
|
||||
expires 1d;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location = /front/embed.html {
|
||||
|
|
Loading…
Reference in New Issue