diff --git a/containers/nginx/dev-ssr.conf.tpl b/containers/nginx/dev-ssr.conf.tpl index f81ee5782..1d9343efb 100644 --- a/containers/nginx/dev-ssr.conf.tpl +++ b/containers/nginx/dev-ssr.conf.tpl @@ -115,6 +115,13 @@ server { add_header 'Access-Control-Allow-Credentials' 'true'; } + location /plugins/embedded-boosts { + alias /var/www/Minds/embedded-boosts/build; + index index.html; + + add_header 'Access-Control-Allow-Origin' "$http_origin"; + } + location ^~ /api/sockets/ { set $upstream http://sockets:3000; diff --git a/docker-compose.yml b/docker-compose.yml index f44609825..c7ca32e5d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,6 +23,7 @@ services: volumes: - ./front/:/var/www/Minds/front:cached - ./embedded-comments/:/var/www/Minds/embedded-comments + - ./embedded-boosts/:/var/www/Minds/embedded-boosts ## APP ENGINE