Custom redirect for one page from https to http with different name.

2024-01-08 Thread James Read
Hi, how would I redirect https://example.com/oldname.php to http://example.com/newname.php Thanks ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx serving wrong site

2024-01-08 Thread James Read
On Mon, 8 Jan 2024, 11:34 James Read, wrote: > > > On Mon, 8 Jan 2024, 10:04 Francis Daly, wrote: > >> On Mon, Jan 08, 2024 at 09:49:23AM -0500, James Read wrote: >> > On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote: >> > > On Mon, Jan 08, 2024 at 09:13

Re: Nginx serving wrong site

2024-01-08 Thread James Read
On Mon, 8 Jan 2024, 10:04 Francis Daly, wrote: > On Mon, Jan 08, 2024 at 09:49:23AM -0500, James Read wrote: > > On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote: > > > On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote: > > Hi there, > > > > So I'm g

Re: Nginx serving wrong site

2024-01-08 Thread James Read
On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote: > On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote: > > Hi there, > > > I literally copied a working configuration. The only changes I made were > > the name of the server and the root to find the files to

Re: Nginx serving wrong site

2024-01-08 Thread James Read
I literally copied a working configuration. The only changes I made were the name of the server and the root to find the files to be served. On Mon, 8 Jan 2024, 08:20 Francis Daly, wrote: > On Mon, Jan 08, 2024 at 08:11:21AM -0500, James Read wrote: > > Hi there, > > &g

Nginx serving wrong site

2024-01-08 Thread James Read
My nginx server is serving the wrong site. I found this explanation online https://www.computerworld.com/article/2987967/why-your-nginx-server-is-responding-with-content-from-the-wrong-site.html However this explanation doesn't seem to fit my case as I have a location which nginx should match

Re: Internationalised nginx

2022-11-21 Thread James Read
ement to get this change through. > > https://en.wikipedia.org/wiki/Internationalized_domain_name > I think what I envision is very different. I want a direct translation from IP to Internationalised Domain Name with no ASCII intermediaries. James Read > > Best, > Bob > On 21

Internationalised nginx

2022-11-21 Thread James Read
this? And would the nginx team be willing to merge the patch with the latest code base to help get this off the ground? thanks in advance, James Read ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Your connection is not private error on Android device

2022-11-14 Thread James Read
On Mon, Nov 14, 2022 at 10:34 PM Lukas Tribus wrote: > On Mon, 14 Nov 2022 at 22:56, James Read wrote: > >> So the file needs to contain first your certificate and then the > >> intermediate one. > > > > > > OK. Thanks. I rearranged the file and

Re: Your connection is not private error on Android device

2022-11-14 Thread James Read
On Mon, Nov 14, 2022 at 10:34 PM Lukas Tribus wrote: > On Mon, 14 Nov 2022 at 22:56, James Read wrote: > >> So the file needs to contain first your certificate and then the > >> intermediate one. > > > > > > OK. Thanks. I rearranged the file and

Re: Your connection is not private error on Android device

2022-11-14 Thread James Read
On Mon, Nov 14, 2022 at 10:12 PM Jeffrey Walton wrote: > > > On Mon, Nov 14, 2022 at 4:59 PM James Read > wrote: > >> ... >> OK. Thanks. I rearranged the file and deleted some certificates. Now >> sslabs is reporting no chain issues for Certificate #1

Re: Your connection is not private error on Android device

2022-11-14 Thread James Read
On Mon, Nov 14, 2022 at 9:33 PM Lukas Tribus wrote: > On Mon, 14 Nov 2022 at 21:33, James Read wrote: > >> For nginx you need the base64 encoding, which is: > >> > >> https://ssl-ccp.secureserver.net/repository/sfig2.crt.pem > >> > > > > I

Re: Your connection is not private error on Android device

2022-11-14 Thread James Read
On Mon, Nov 14, 2022 at 8:20 PM Lukas Tribus wrote: > On Mon, 14 Nov 2022 at 21:09, Lukas Tribus wrote: > > > > On Mon, 14 Nov 2022 at 21:00, James Read > wrote: > > > > > > > > > > > > On Mon, Nov 14, 2022 at 5:58 PM Lukas Tribus wrote:

Re: Your connection is not private error on Android device

2022-11-14 Thread James Read
On Mon, Nov 14, 2022 at 5:58 PM Lukas Tribus wrote: > On Mon, 14 Nov 2022 at 17:31, James Read wrote: > > > > I have configured SSL on a number of subdomains including > https://us.wottot.com > > > > On my PC I can view the resulting web page without any problems

Your connection is not private error on Android device

2022-11-14 Thread James Read
is not private error. The problem doesn't exist when accessing other secure websites so this leads me to believe that there is some error in the configuration which is specific to Android devices. Any general ideas what I should look for? James Read

Re: Nginx performance data

2022-01-23 Thread James Read
On Fri, Jan 14, 2022 at 12:47 AM James Read wrote: > > > On Sun, Jan 9, 2022 at 12:47 AM Reinis Rozitis wrote: > >> > Otherwise why is my application running into such performance limits as >> mentioned in this question on stackoverflow >> https://stackoverflow.

Re: Nginx performance data

2022-01-13 Thread James Read
being different to an actual test with many clients. There must be a problem with my epoll implementation because the modified wrk codebase works just fine. James Read > > I would suggest to at minimum do at least 'strace -c' to see what syscalls > takes most of the time. > > But th

Re: Nginx performance data

2022-01-10 Thread James Read
og/thread-pools-boost-performance-9x/ Thanks. I've been doing some preliminary experiments with PACKET_MMAP style communication. I'm able to max out the available bandwidth using this technique. Could Nginx be improved in a similar way? James Read > > > Regards > Alex > > >

Re: Nginx performance data

2022-01-08 Thread James Read
test low level things. > I am satisfied with the speed of the DNS resolution. It's the http communication that I want to speed up. > > I would suggest to at minimum do at least 'strace -c' to see what syscalls > takes most of the time. > Nice tool. Never used it before. Thanks. James

Re: Nginx performance data

2022-01-08 Thread James Read
On Sat, Jan 8, 2022 at 9:21 PM Francis Daly wrote: > On Sat, Jan 08, 2022 at 08:53:44PM +0000, James Read wrote: > > > On Fri, Jan 07, 2022 at 01:36:04PM +, James Read wrote: > > Hi there, > > > > > Does anybody know what timeout is used in Nginx call to

Re: Nginx performance data

2022-01-08 Thread James Read
On Fri, Jan 7, 2022 at 11:56 PM Maxim Dounin wrote: > Hello! > > On Fri, Jan 07, 2022 at 01:36:04PM +0000, James Read wrote: > > > Nice article. So the short answer is that Nginx does in fact use multiple > > processes. Does anybody know what timeout is used in Ngin

Re: Nginx performance data

2022-01-08 Thread James Read
On Sat, Jan 8, 2022 at 10:40 AM Reinis Rozitis wrote: > >> > https://www.nginx.com/blog/testing-the-performance-of-nginx-and-nginx-plus-web-servers/ > > > > I don't view the test described as valid because the test is between one > client and one server. I'm interested in testing with one

Re: Nginx performance data

2022-01-07 Thread James Read
poll_wait()? Is there some heuristic for calculating the optimal timeout on each iteration? James Read > > > On Fri, Jan 7, 2022 at 6:33 PM James Read wrote: > >> >> >> On Fri, Jan 7, 2022 at 11:56 AM Anoop Alias >> wrote: >> >>> This basically

Re: Nginx performance data

2022-01-07 Thread James Read
be clear Nginx is entirely single threaded? James Read > > On Wed, Jan 5, 2022 at 5:48 AM James Read wrote: > >> Hi, >> >> I have some questions about Nginx performance. How many concurrent >> connections can Nginx handle? What throughput can Nginx achieve when >

Re: Nginx performance data

2022-01-07 Thread James Read
sed client that is limiting performance. If Nginx performs well with multiple clients over 1024 clients then that would seem to indicate there is a bug in my epoll based client. James Read > > and other articles https://www.nginx.com/blog/

Re: Nginx performance data

2022-01-07 Thread James Read
On Wed, Jan 5, 2022 at 12:18 AM James Read wrote: > Hi, > > I have some questions about Nginx performance. How many concurrent > connections can Nginx handle? What throughput can Nginx achieve when > serving a large number of small pages to a large number of clients (the &

Nginx performance data

2022-01-04 Thread James Read
loop all done in a single thread or are multiple threads used to split the work of serving so many different clients? thanks in advance James Read ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Rewrite/redirect issue

2021-05-06 Thread James Read
On Thu, May 6, 2021 at 4:02 PM Sergey A. Osokin wrote: > Hi Eric, > > hope you're doing well these days. > > On Thu, May 06, 2021 at 02:01:40PM +, Eric Speake wrote: > > I am trying to redirect mydomain.com/summersummit to > new.mydomain.com/events/employee-events/summersummit2021. Here is

nginx internals: processors versus network

2020-12-01 Thread James Read
of a processor bottleneck. Does nginx suffer from similar limitations? James Read ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

stress testing nginx server

2020-01-27 Thread James Read
Hi, does anyone know of a way to stress test a nginx server? For example an epoll based web crawler that can make c10k connections with the web server? Thanks, James Read ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo

How to customise 404 page

2019-12-14 Thread James Read
Hi, how do I customise the 404 page? http://wotstory.com/doesnotexist I don't want to advertise to the world what web server is running and what operating system is running, James http://wotstory.com/ ___ nginx mailing list nginx@nginx.org

Re: Getting started

2019-12-12 Thread James Read
On Thu, Dec 12, 2019 at 5:03 PM Francis Daly wrote: > On Thu, Dec 12, 2019 at 04:52:25PM +0000, James Read wrote: > > On Thu, Dec 12, 2019 at 4:42 PM Francis Daly wrote: > > Hi there, > > > > If not, "nginx -V" should show the "configure argumen

Re: Getting started

2019-12-12 Thread James Read
On Thu, Dec 12, 2019 at 4:42 PM Francis Daly wrote: > On Thu, Dec 12, 2019 at 04:34:17PM +0000, James Read wrote: > > On Thu, Dec 12, 2019 at 4:24 PM Francis Daly wrote: > > Hi there, > > > > If you do > > > > > > curl -i http://127.0.0.1/ > &g

Re: Getting started

2019-12-12 Thread James Read
On Thu, Dec 12, 2019 at 4:24 PM Francis Daly wrote: > On Wed, Dec 11, 2019 at 08:54:24PM +0000, James Read wrote: > > Hi there, > > > Access log shows that page hasn't changed http code 304: > > > > 127.0.0.1 - - [11/Dec/2019:20:46:42 +] "GET / HTTP/1

Re: Getting started

2019-12-11 Thread James Read
On Wed, Dec 11, 2019 at 8:30 PM Francis Daly wrote: > On Tue, Dec 10, 2019 at 11:50:21PM +0000, James Read wrote: > > Hi there, > > nginx uses a single config file, which may "include" other files. > > When a request comes in to nginx, it chooses one &

Getting started

2019-12-10 Thread James Read
I edited the config file as follows: http { server { location / { root /www; } } ... } I then reloaded the config file with sudo nginx -s reload. I created a test file at /www/index.html then when I tried to load the page in