add regional converter
This commit is contained in:
19
nginx.conf
19
nginx.conf
@@ -1,3 +1,9 @@
|
||||
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;
|
||||
@@ -8,10 +14,19 @@ server {
|
||||
}
|
||||
|
||||
location /uc/ {
|
||||
proxy_pass http://10.100.10.70:9999;
|
||||
proxy_pass http://10.100.10.70:9999/;
|
||||
}
|
||||
|
||||
location /app/ {
|
||||
proxy_pass http://10.100.11.188:8901;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user