Re: Internationalised nginx

2022-11-21 Thread Sergey A. Osokin
Hi James, On Mon, Nov 21, 2022 at 05:00:17PM +, James Read wrote: > > I am considering embarking on a new project. The idea is to make a new web > space where businesses around the world can have a domain name in their own > language in their own character set representing the legal business

Re: nginx returns html instead of json response

2022-11-21 Thread Francis Daly
On Sat, Nov 19, 2022 at 09:09:34PM +0530, Kaushal Shriyan wrote: Hi there, > On 500 errors also we are handling at Drupal and sending JSON responses to > specify the details about errors. I think that for these api requests, you want to do either one of: * set fastcgi_intercept_errors off * uns

Re: Internationalised nginx

2022-11-21 Thread James Read
On Mon, Nov 21, 2022 at 5:09 PM Boyu Fang wrote: > I think it already exist to a degree, and even if you idea is different to > what the below link has described, I dont think nginx alone can help you > achieve what you want. You need to work standardisation body(ies) or even > movement to get th

Internationalised nginx

2022-11-21 Thread James Read
Hi all, I am considering embarking on a new project. The idea is to make a new web space where businesses around the world can have a domain name in their own language in their own character set representing the legal business name of their business without any of the .com =, .org business. This w

Re: High CPU usage with RHEL9 and nginx at 20Gbps

2022-11-21 Thread Maxim Dounin
Hello! On Mon, Nov 21, 2022 at 01:03:25PM +0100, Marcin Wanat wrote: > Hi, > > i have a problem with worker high CPU usage on recent Rocky Linux 9 with > nginx setup. > > I have 10 identical servers, each with Mellanox ConnectX-5 dual 25Gbps > NIC, 6x Samsung PM983 NVMe drives, 512GB RAM and Ep

Re: High CPU usage with RHEL9 and nginx at 20Gbps

2022-11-21 Thread Sergey A. Osokin
Hi Marcin, thanks for the report. On Mon, Nov 21, 2022 at 01:03:25PM +0100, Marcin Wanat wrote: > > i have a problem with worker high CPU usage on recent Rocky Linux 9 with > nginx setup. [...] > > Any ideas what could be causing the problem? Is there a chance to reproduce the issue with a pa

Re: Two python app, uwsgi, one IP, nginx

2022-11-21 Thread Sergey A. Osokin
Hi there, On Mon, Nov 21, 2022 at 06:20:33AM -0500, mfaridi wrote: > We have one server and we have two python app work by uwsgi and we want use > Nginx for serve these applications and other users can use these two python > applications. > > these two python application start on server by this c

Re: How to hide/restrict log/error message in browser from nginx server

2022-11-21 Thread Sergey A. Osokin
Hi Ashish, On Mon, Nov 21, 2022 at 06:07:17AM -0500, ashishbijwe wrote: [...] > So any http request was made it provides verbose nature of error message in > browser , it shows some source code file pat below (currently pasted dummy > browser response): > > at decodeURIComponent () > at dec

High CPU usage with RHEL9 and nginx at 20Gbps

2022-11-21 Thread Marcin Wanat
Hi, i have a problem with worker high CPU usage on recent Rocky Linux 9 with nginx setup. I have 10 identical servers, each with Mellanox ConnectX-5 dual 25Gbps NIC, 6x Samsung PM983 NVMe drives, 512GB RAM and Epyc 7402 CPU. 9 of them are using RockyLinux 8.7 (some with stock, some with 5.18.10-

Two python app, uwsgi, one IP, nginx

2022-11-21 Thread mfaridi
We have one server and we have two python app work by uwsgi and we want use Nginx for serve these applications and other users can use these two python applications. these two python application start on server by this command /home/admin/aaa/aaa_en//bin/uwsgi --ini aaa.ini and /home/admin/bbb

How to hide/restrict log/error message in browser from nginx server

2022-11-21 Thread ashishbijwe
Hi All, I am new to nginx thing, currently we have primary nginx.conf file under /etc/nginx/ and serval tenant specific server configuration file present in /etc/nginx/conf.d/ folder. So any http request was made it provides verbose nature of error message in browser , it shows some source code f