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.
 
 

29 lines
806 B

server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
location /api/ {
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
proxy_pass http://10.11.2.2:3005/;
}
location /manager-api/ {
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE';
proxy_pass http://10.11.2.1:3006/;
}
location /logs {
add_header Access-Control-Allow-Origin *;
proxy_pass http://10.11.3.0:9001/logs;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location / {
add_header Access-Control-Allow-Origin *;
proxy_pass http://10.11.0.3:3004/;
}
}