Nginx conf and upgrade notes to prepare federation

This commit is contained in:
Eliot Berriot 2018-03-29 23:38:33 +02:00
commit f9481a5b57
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
2 changed files with 57 additions and 0 deletions

View file

@ -62,6 +62,16 @@ server {
proxy_pass http://funkwhale-api/api/;
}
location /federation/ {
include /etc/nginx/funkwhale_proxy.conf;
proxy_pass http://funkwhale-api/federation/;
}
location /.well-known/webfinger {
include /etc/nginx/funkwhale_proxy.conf;
proxy_pass http://funkwhale-api/.well-known/webfinger;
}
location /media/ {
alias /srv/funkwhale/data/media/;
}