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

merge-requests/237/head
Eliot Berriot 2018-05-07 22:29:22 +02:00
rodzic d88b7869fe
commit 5dcb81c4af
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -84,9 +84,9 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music
ProxyPassReverse ${funkwhale-api}/federation
</Location>
<Location "/.well-known/webfinger">
ProxyPass ${funkwhale-api}/.well-known/webfinger
ProxyPassReverse ${funkwhale-api}/.well-known/webfinger
<Location "/.well-known/">
ProxyPass ${funkwhale-api}/.well-known/
ProxyPassReverse ${funkwhale-api}/.well-known/
</Location>
Alias /media /srv/funkwhale/data/media

Wyświetl plik

@ -67,9 +67,9 @@ server {
proxy_pass http://funkwhale-api/federation/;
}
location /.well-known/webfinger {
location /.well-known/ {
include /etc/nginx/funkwhale_proxy.conf;
proxy_pass http://funkwhale-api/.well-known/webfinger;
proxy_pass http://funkwhale-api/.well-known/;
}
location /media/ {