S
S
skul2013-03-26 18:11:30
Nginx
skul, 2013-03-26 18:11:30

NGINX proxying to another $uri

Hi everybody.
There is a task to proxy from example.com/uri to example2.com/
It is the $uri substitution that is of interest.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kaladhara, 2013-03-26
@skul

like this?
location /news/ {
proxy_pass newsru.com;
}

S
skul, 2013-03-26
@skul

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question