See #192: updated sample nginx/apache conf for well-known endpoints
This commit is contained in:
parent
d88b7869fe
commit
5dcb81c4af
|
@ -84,9 +84,9 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
|
||||||
ProxyPassReverse ${funkwhale-api}/federation
|
ProxyPassReverse ${funkwhale-api}/federation
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
<Location "/.well-known/webfinger">
|
<Location "/.well-known/">
|
||||||
ProxyPass ${funkwhale-api}/.well-known/webfinger
|
ProxyPass ${funkwhale-api}/.well-known/
|
||||||
ProxyPassReverse ${funkwhale-api}/.well-known/webfinger
|
ProxyPassReverse ${funkwhale-api}/.well-known/
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
Alias /media /srv/funkwhale/data/media
|
Alias /media /srv/funkwhale/data/media
|
||||||
|
|
|
@ -67,9 +67,9 @@ server {
|
||||||
proxy_pass http://funkwhale-api/federation/;
|
proxy_pass http://funkwhale-api/federation/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known/webfinger {
|
location /.well-known/ {
|
||||||
include /etc/nginx/funkwhale_proxy.conf;
|
include /etc/nginx/funkwhale_proxy.conf;
|
||||||
proxy_pass http://funkwhale-api/.well-known/webfinger;
|
proxy_pass http://funkwhale-api/.well-known/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /media/ {
|
location /media/ {
|
||||||
|
|
Loading…
Reference in New Issue