Re: nginx returns html instead of json response

2022-11-16 Thread Kaushal Shriyan
On Thu, Nov 17, 2022 at 3:13 AM Sergey A. Osokin wrote: > On Wed, Nov 16, 2022 at 10:29:04PM +0530, Kaushal Shriyan wrote: > > Checking in again if someone can help me with my earlier post to this > > mailing list? Thanks in advance. > > I'd recommend to take a look on the proxy_intercept_errors

Re: nginx returns html instead of json response

2022-11-16 Thread Sergey A. Osokin
On Wed, Nov 16, 2022 at 10:29:04PM +0530, Kaushal Shriyan wrote: > Checking in again if someone can help me with my earlier post to this > mailing list? Thanks in advance. I'd recommend to take a look on the proxy_intercept_errors directive [1], it helps to intercept 300+ error codes and processin

Re: Why the info 'A worker can handle no more than 1024 simultaneous connections' has been removed from http://nginx.org/en/docs/windows.html ?

2022-11-16 Thread Maxim Dounin
Hello! On Wed, Nov 16, 2022 at 03:31:14PM +, Masseau Olivier via nginx wrote: > Previous we could find this very important information on the > "nginx for Windows" page ( http://nginx.org/en/docs/windows.html > ) : > > Known issues > ... > A worker can handle no more than 1024 simultaneous

Re: Running ssl on custom port and its not working

2022-11-16 Thread Sergey A. Osokin
Hi, thanks for the report. On Wed, Nov 16, 2022 at 01:04:45PM -0500, blason wrote: [...] > My stanza is as below; however this is not working and I am getting > > ## > This site can’t provide a secure connection > xxx...xxx sent an invalid response. > ERR_SSL_PROTOCOL_ERROR > ###

Re: Getting current date and time with milliseconds precision

2022-11-16 Thread Maxim Dounin
Hello! On Wed, Nov 16, 2022 at 09:58:23AM -0500, libresco_27 wrote: > Hello, > I'm trying to get the current time and date with milliseconds precision. I'm > using lua with nginx/openresty. Can someone help? In general, nginx can provide time with millisecond resolution. For example, see the

Running ssl on custom port and its not working

2022-11-16 Thread blason
Hi Team, I have current URL as https://xxx.xxx.xxx:8081/neutrino-sso-web/ which is directly natted on firewall on pot 8081 However I now would like to put this URL behind nginx reverse proxy. Since the above URL is given to lot many customers it would not be possible to change the URL. we are plan

Re: nginx returns html instead of json response

2022-11-16 Thread Kaushal Shriyan
On Mon, Nov 14, 2022 at 8:24 PM Kaushal Shriyan wrote: > > >> On Fri, Nov 11, 2022 at 2:38 PM Francis Daly wrote: >> >>> On Wed, Nov 09, 2022 at 11:45:20PM +0530, Kaushal Shriyan wrote: >>> >>> Hi there, >>> >>> > Checking in again if someone can help me with my earlier post to this >>> > mailin

Why the info 'A worker can handle no more than 1024 simultaneous connections' has been removed from http://nginx.org/en/docs/windows.html ?

2022-11-16 Thread Masseau Olivier via nginx
Hello, Previous we could find this very important information on the "nginx for Windows" page ( http://nginx.org/en/docs/windows.html ) : Known issues ... A worker can handle no more than 1024 simultaneous connections. ... Why has it been removed ? I struggled a lot understanding why increasi

Re: Getting current date and time with milliseconds precision

2022-11-16 Thread Sergey A. Osokin
Hi, On Wed, Nov 16, 2022 at 09:58:23AM -0500, libresco_27 wrote: > Hello, > I'm trying to get the current time and date with milliseconds precision. I'm > using lua with nginx/openresty. Can someone help? lua module is the third-party product, created by another team. Follow that, I'd recommend

Getting current date and time with milliseconds precision

2022-11-16 Thread libresco_27
Hello, I'm trying to get the current time and date with milliseconds precision. I'm using lua with nginx/openresty. Can someone help? Many thanks! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295777,295777#msg-295777 ___ nginx mailing li

Re: Disabling keepalive

2022-11-16 Thread libresco_27
Thank you so much for your help! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295571,295776#msg-295776 ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org