RE: Uploading files to remote server running nginx 1.24 returns http status code 405 Not Allowed.

2023-12-18 Thread Reinis Rozitis
> When I am trying to upload files by hitting > https://software.example.com/upload_form.html I am encountering http status > code 405 Not Allowed. Please find inline a screenshot for your reference. Does your upload form point exactly to '/upload.php' ? as by by default Nginx doesn't allow PO

Capture full request/response body logging in nginx configured in reverse proxy mode reports nginx: [emerg] unknown directive "log_by_lua_block"

2023-12-18 Thread Kaushal Shriyan
Hi, I am running nginx version: nginx/1.24.0 as reverse proxy on CentOS Linux release 7.9.2009 (Core). I have the below config file /etc/nginx/conf.d/microservice.conf I want to capture full request/response body logging in nginx. # cat /etc/nginx/conf.d/microservice.conf server { lis

Re: Capture full request/response body logging in nginx configured in reverse proxy mode reports nginx: [emerg] unknown directive "log_by_lua_block"

2023-12-18 Thread Sergey A. Osokin
Hi Kaushal, On Mon, Dec 18, 2023 at 10:24:14PM +0530, Kaushal Shriyan wrote: > > I am running nginx version: nginx/1.24.0 as reverse proxy on CentOS Linux > release 7.9.2009 (Core). I have the below config > file /etc/nginx/conf.d/microservice.conf > I want to capture full request/response body l

Re: Capture full request/response body logging in nginx configured in reverse proxy mode reports nginx: [emerg] unknown directive "log_by_lua_block"

2023-12-18 Thread Kaushal Shriyan
On Mon, Dec 18, 2023 at 11:19 PM Sergey A. Osokin wrote: > Hi Kaushal, > > On Mon, Dec 18, 2023 at 10:24:14PM +0530, Kaushal Shriyan wrote: > > > > I am running nginx version: nginx/1.24.0 as reverse proxy on CentOS Linux > > release 7.9.2009 (Core). I have the below config > > file /etc/nginx/co