N
N
Nurik2022-03-18 12:02:04
Python
Nurik, 2022-03-18 12:02:04

Is it possible to parse data from POST inside nginx?

Is it possible to parse data from a POST request inside nginx and then save it to a bash script? I read somewhere that you can use Lua inside Nginx, how trivial is the task?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Kuts, 2022-03-18
@zece14

Can. Using openresty
https://tarunlalwani.com/post/request-capturing-ng...

A
Anton Shamanov, 2022-03-18
@SilenceOfWinter

https://www.nginx.com/resources/wiki/extending/ well, in your extension you can do anything) only your idea looks like a backdoor)

F
FanatPHP, 2022-03-18
@FanatPHP

Lord, while I was writing a comment, there were already specialists. "extending", "openresty".
So a generation has grown up that has never heard the word CGI (not in the meaning of "computer graphics") ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question