V
V
Vladimir2014-08-13 09:31:36
Nginx
Vladimir, 2014-08-13 09:31:36

When used in nginx regexp in locales, can the found groups be substituted into proxy_pass ?

If I use regexp when specifying location and define a couple of groups there, can the found groups be used in the address in proxy_pass ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2014-08-13
@Casufi

location ~* ^/service/(.*) {
proxy_pass apache/$1$is_args$args;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question