Answer the question
In order to leave comments, you need to log in
How to generate a dynamic response using nginx?
There is a request like GET /page/11-22.html
And a template:
First number: %A%
Second number: %B%
Host: %C%
Need to return using nginx response:
First number: 11
Second number: 22
Host: hostname
How to do it without using ssi and lua module?
ssi - slow
lua - too overhead for such a task
sub_filter can replace only one variable
I would like to solve it only with the help of sub_filter or basic modules, without rebuilding the binary.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question