Skip to content
Snippets Groups Projects
Verified Commit 5dcb81c4 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

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

parent d88b7869
No related branches found
No related tags found
No related merge requests found
...@@ -84,9 +84,9 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music ...@@ -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 { ...@@ -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/ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment