Files
converter_nginx/nginx.conf

37 lines
713 B
Nginx Configuration File

map $http_referer $openapi_backend {
"~*/uc/" http://10.100.10.70:9999/;
"~*/app/" http://10.100.11.188:8901/;
}
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html;
}
location /uc/ {
proxy_pass http://10.100.10.70:9999/;
}
location /app/ {
proxy_pass http://10.100.11.188:8903/;
}
location /region_search/ {
proxy_pass http://10.100.11.188:8902/;
}
location /docs/ {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
}
location /classifier_products_services/ {
proxy_pass http://10.100.11.186:8000/;
}
}