Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Perhaps something like this?
location ~ "/port/(\d+)" {
proxy_pass http://127.0.0.1:$1/;
}
If you want pure port forwarding, then the stream_proxy module will help.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question