🔒 CORS configuration in docker-compose and Express

This commit is contained in:
2021-10-18 12:11:30 -07:00
parent 8b3743fe6b
commit 2d1ccf7264
5 changed files with 14 additions and 21 deletions

View File

@@ -1,23 +1,22 @@
server {
listen 8050;
location / {
proxy_pass http://host.docker.internal:8050;
proxy_pass http://localhost:8050;
}
}
server {
listen 3080;
location /comicvine-service {
proxy_pass http://host.docker.internal:3080;
proxy_pass http://localhost:3080;
}
}
server {
listen 3000;
location /import {
proxy_pass http://host.docker.internal:3000;
location /import-service {
proxy_pass http://localhost:3000;
}
}