Re: Domains not working as expected with nginx

2022-07-11 Thread Jason Crews
Turns out I was missing a listen statement. Thanks for the help! Jason Crews On Sat, Jul 9, 2022 at 3:25 AM Ian Hobson wrote: > > Hi Jason, > > This sounds to me like a wordpress problem. > > Within the wordpress database, you will find a ???-options table, where > ??? is a prefix for the site.

Re: reverse proxy

2022-07-11 Thread Jessica Dooley
Seconding Thomas's reply - Optimally, this should be done at the application layer. Configure proxy_set_header to send the clients' real public IPs from the reverse proxy to the upstream application. That way, your destination site will see the real IP of every visitor, rather than the reverse pro

Re: reverse proxy

2022-07-11 Thread Thomas Ward
Reiterating my last statement, I don't think there's a way to configure this in NGINX out of the box, the closest thing I can think of is an Lua script that would be written to do this with the OpenRESTY Lua module, however I"m not a pro at that, and that's not Bash. If you don't need **absolu

Re: reverse proxy

2022-07-11 Thread Saint Michael
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 reco

Re: reverse proxy

2022-07-11 Thread Thomas Ward
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 wrot

reverse proxy

2022-07-11 Thread Saint Michael
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 unsubscr