🔒 CORS configuration in docker-compose and Express
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user