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.

30 lines
806 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 /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";
}
5 years ago
location / {
add_header Access-Control-Allow-Origin *;
proxy_pass http://10.11.0.3:3004/;
5 years ago
}
}