Re: nginx ssl stream termination for MySQL backends

2023-01-07 Thread Maxim Dounin
Hello! On Sat, Jan 07, 2023 at 10:48:31PM +0530, Vishwas Bm wrote: > Below is the use case which I am trying: > > client--->nginx stream(ssl termination) ---> MySQL Db > > Connection between nginx and MySQL db is unencrypted. > > When I send ssl request using MySQL client, I am getting ssl han

nginx ssl stream termination for MySQL backends

2023-01-07 Thread Vishwas Bm
Hi, Below is the use case which I am trying: client--->nginx stream(ssl termination) ---> MySQL Db Connection between nginx and MySQL db is unencrypted. When I send ssl request using MySQL client, I am getting ssl handshake timeout error. I do not see client hello from client in tcpdump capture

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-07 Thread Dan Swaney
To query your MySql database, I propose you use a REST interface to decouple it from your Front End. The REST interface should be a HTTP Web Service either self hosted or hosted by another Web Server locally on the NGINX Server. (This allows NGINX to handle authentication and HTTPS encryption cen