Thanks :), but I still need one more thing to make it usable. This comparison $http_my_header ~ (\d+) must work on concrete values from file, namely In file called header_value.file I would like to have header_value1 header_value2 header_value3 and comparison $http_my_header ~ (\d+) should check whether any value from header_value.file is in $http_my_headerby zestriddle - Nginx Mailing List - English
Let assume that server called n1 is reverse proxy (SSL) for http server s1. Client c1 connects to n1 using given URL https://n1/index.html and in the end reads web page from /var/www/index.html on s1. What I want to do is to change URL sent to s1 depending on some header value sent by client. Namely, c1 connects to n1 with URL https://n1/index.html and with header "some_header=123" thenby zestriddle - Nginx Mailing List - English