See #192: updated sample nginx/apache conf for well-known endpoints

This commit is contained in:
Eliot Berriot 2018-05-07 22:29:22 +02:00
parent d88b7869fe
commit 5dcb81c4af
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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/ {