You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
552 B

5 years ago
server {
5 years ago
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
5 years ago
location /api/ {
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
proxy_pass http://10.11.2.2:3005/;
}
5 years ago
location /manager-api/ {
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
proxy_pass http://10.11.2.1:3006/;
5 years ago
}
location / {
add_header Access-Control-Allow-Origin *;
proxy_pass http://10.11.0.3:3004/;
5 years ago
}
}