See #578: added opengraph and oembed data on artist / album / track urls

This commit is contained in:
Eliot Berriot 2018-12-19 14:04:26 +01:00
commit 9220b2f0f1
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
14 changed files with 867 additions and 21 deletions

View file

@ -24,17 +24,14 @@ server {
root /frontend;
location / {
try_files $uri $uri/ @rewrites;
}
location @rewrites {
rewrite ^(.+)$ /index.html last;
}
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/api/;
proxy_pass http://funkwhale-api/;
}
location /front/ {
alias /frontend;
}
location /federation/ {