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

environments/review-front-arti-0habim/deployments/2230
Eliot Berriot 2019-07-10 14:58:20 +02:00
rodzic ab73752f55
commit c39cd010d5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

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

Wyświetl plik

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