Re: after upgrade to nginx 1.16.0, $realpath_root returns incorrect path ?

2019-05-04 Thread PGNet Dev
On 5/4/19 8:11 AM, PGNet Dev wrote: but turning on debug, 2019/05/04 07:51:50 [debug] 6510#6510: *8 http script var: "/index.php" 2019/05/04 07:51:50 [debug] 6510#6510: *8 fastcgi param: "SCRIPT_FILENAME: /usr/local/html/index.php" the SCRIPT_FILENAME path is incorrect. there

Reverse proxy and 502 bad gateway

2019-05-04 Thread Mik J via nginx
Hello, I'm sucessfully accessing a server/site behind my reverse proxy with the following URL https://app.mydomain.org/screens/dashboard.html#/MainDashboard But the following URL gives a 502 Bad Gateway https://app.mydomain.org/screens/webui/resource/swccopolldata.json I don't understand why bey

Capture clear text with Nginx reverse proxy

2019-05-04 Thread Mik J via nginx
Hello, I often try to solve problems between Nginx and the server communicating in https client <= https => Nginx <= https => server And I don't have access to the server or it's a source code that is closed so it's not possible to troubleshoot there. Is there a way to see in clear text what i

after upgrade to nginx 1.16.0, $realpath_root returns incorrect path ?

2019-05-04 Thread PGNet Dev
after upgrading my working nginx instance from v1.15.x to nginx -V nginx version: nginx/1.16.0 (local build) built with OpenSSL 1.1.1b 26 Feb 2019 ... running with php-fpm from php -v PHP 7.3.6-dev (cli) (built: Apr