I did not explain myself well.
My reverse proxy is at
https://bellingcat.oneye.us/
it goes to
https://www.bellingcat.com
so, every time somebody opens Chrome and goes to https://belloingcat.oneye.us
somewhere in my definition I need to fire a bash script (or any
script) with some parameters to record the address.
I cannot believe that was not considered.
Thanks for the help.
On Mon, Jul 11, 2022 at 3:49 PM Thomas Ward <teward@thomas-ward.net> wrote:
>
> Ideally you would have your reverse proxy hand off to an application
> that does this. I don't think there's an inbuilt way to execute a given
> script every time someone connects via Bash. This is something your
> backend application should really be handling.
>
> On 7/11/22 15:13, Saint Michael wrote:
> > I have a reverse proxy and need to execute a bash script each time
> > somebody connects to it.
> > What is the right way to do it? I need to update a database. A
> > parameter must be the public IP of the client.
> > _______________________________________________
> > nginx mailing list -- nginx@nginx.org
> > To unsubscribe send an email to nginx-leave@nginx.org
> >
>
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org