add regional converter

This commit is contained in:
2026-04-10 18:10:38 +04:00
parent dec08d5809
commit de3b5854c8
7 changed files with 628 additions and 181 deletions

View File

@@ -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;
}
}