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

See #880: allow using a production-builded frontend in dev to test CSP

parent ab73752f
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,7 @@ services:
- "${MUSIC_DIRECTORY_SERVE_PATH-./data/music}:/music:ro"
- ./deploy/funkwhale_proxy.conf:/etc/nginx/funkwhale_proxy.conf:ro
- "${MEDIA_ROOT-./api/funkwhale_api/media}:/protected/media:ro"
- "./front:/frontend:ro"
networks:
- federation
- internal
......
......@@ -70,6 +70,9 @@ http {
text/x-cross-domain-policy;
location /front/ {
# uncomment the following line and comment the proxy-pass one
# to use the frontend build with "yarn build"
#alias /frontend/dist/;
proxy_pass http://funkwhale-front/front/;
}
location /front-server/ {
......
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