|
|
@ -16,7 +16,7 @@ set $target ''; |
|
|
|
then |
|
|
|
then |
|
|
|
ngx.var.target="http://127.0.0.1:5000" |
|
|
|
ngx.var.target="http://127.0.0.1:5000" |
|
|
|
else |
|
|
|
else |
|
|
|
ngx.var.target="http://127.0.0.1:2233" |
|
|
|
ngx.var.target="http://127.0.0.1:3000" |
|
|
|
end |
|
|
|
end |
|
|
|
'; |
|
|
|
'; |
|
|
|
proxy_pass $target; |
|
|
|
proxy_pass $target; |
|
|
|