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

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 be s

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, > > >

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 corre

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 del

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 del

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: RSA 204

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

Re: Newbie location error gives error 404

2022-03-10 Thread James Taylor
Thank you Sergey! I tried every thing I could think of, but I couldn’t think of giving the new directory the correct permissions. Thanks again! ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

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
many 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. &

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
y to 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 be

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 Nginx call

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 server

Re: Nginx performance data

2022-01-07 Thread James Read
ait()? 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 dep

Re: Nginx performance data

2022-01-07 Thread James Read
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
a buy in my epoll based 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:/

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 wh

Re: thread already active.

2021-03-21 Thread James Beal
On 21/03/2021 16:06:40, James Beal wrote: We have a fairly complex nginx config however the vhost that I know I am having issues is quiet simple. We have  aio threads ; enabled  James Beal:  Turning aio off fixes the issue but doesn't seem op

thread already active.

2021-03-21 Thread James Beal
We have a fairly complex nginx config however the vhost that I know I am having issues is quiet simple. We have  aio threads ; enabled  /usr/sbin/nginx -V nginx version: nginx/1.19.6 built by gcc 8.3.0 (Debian 8.3.0-6) built with OpenSSL 1.1.1d  10 Sep 2019 TLS SNI support enabled configure arg

re: nginx stuck in tight loop sometimes ( sorry for new thread )

2021-01-19 Thread James Beal
Sorry I was subscribed via the digest so this ended up being a new thread ( i have subscribed for each message ). Are you able to reproduce the problem without any 3rd party modules? Since nginx itself does not use pipes, this looks like a pagespeed problem. Not really we use about 500mb/s of ba

nginx stuck in tight loop sometimes

2021-01-19 Thread James Beal
We have quite a high volume site, we have 4 front end nginx servers, each: * AMD EPYC 7402P 24-Core Processor * INTEL SSDPELKX020T8 ( 2TB NVMe ) * Dual  Broadcom BCM57416 NetXtreme-E 10GBase-T * 512GB of RAM We have a fairly complex nginx config with sharded caches as explained in https://www.ngin

nginx internals: processors versus network

2020-12-01 Thread James Read
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 arguments&

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 / H

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 "serve

Getting started

2019-12-10 Thread James Read
going on? thanks, James ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: cache key > 1049 characters results in 502

2018-08-24 Thread James Beal via nginx
On 24/08/2018 08:59:09, James Beal wrote: We currently use caching for guests, our search pages use long urls to pass the parameters to our application. Currently searches that worked for logged in users don't work for guests. I can show the issue with these two curl examples ( which ar

cache key > 1049 characters results in 502

2018-08-24 Thread James Beal via nginx
guest james_@Sophie:/mnt/c/Users/james$ curl -I     "https://archiveofourown.o

JOB | Permanent Web Developer (New York)

2018-04-04 Thread James Tobin
using "JamesBTobin (at) Gmail (dot) Com". Kind regards, James ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx Directory Autoindex

2018-03-02 Thread James
scripting. Having just done my monthly check for software updates on 421 projects I have a reason. Many are in text sorted directory listings and would benefit from date ordering. James. ___ nginx mailing list nginx@nginx.org http://mailman.n

Re: Nginx Directory Autoindex

2018-03-02 Thread James
oing to happen unless it's easy, ie, built in. autoindex on | off | date | text | ... ; James. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx Directory Autoindex

2018-03-02 Thread James
On 01/03/2018 11:54, Luciano Mannucci wrote: It is probably trivial to add an option to the configuration, something like "autoindex_reverse_sort" (set to off by default), though I don'nt know if it would be usefull for other nginx users... I'd like the option of order by date, "ls -t", "ls -r

Re: Illumos/SmartOS/Solaris issue when using eventport and keepalive at the same time

2017-03-18 Thread James
t all that but learnt the hard way myself. Perhaps the docs could not recommend eventport with Solaris and warn against its use for now. eg: http://nginx.org/en/docs/events.html Спасибо! James. ___ nginx mailing list nginx@ngin

browser downloading html files

2015-07-18 Thread James Marcus
and my browser downloads it. I used the winginx .htaccess converter to create the rewrite rules. Any direction would be great Thanks, James Here is my config: server { listen 80; server_name www.imagesite.net *.imagesite.net; root /var/www/imagesite.net/html; index index.php;

Re: Root ignored for "location = /"?

2014-02-06 Thread Mark James
On 07/02/14 02:23, Valentin V. Bartenev wrote: The reason is documented:http://nginx.org/r/index "It should be noted that using an index file causes an internal redirect ..." Thanks very much for this Valentin. I've been stuck on this for a while. The solution was to replace the "location =

Root ignored for "location = /"?

2014-02-06 Thread Mark James
Hello, I want the index.html file in a particular directory to only be served when the domain's root URI is requested. Using the config server example.com; index index.html; location = / { root path/to/dir; } a request to example.com results in index.html in the Nginx default root "/html"

Re: truncated output for large files through proxy

2013-06-17 Thread James Lee
On 17/06/2013 12:06, Maxim Dounin wrote: Hello, The eventport event method is known to have problems. Use devpoll (default) instead. Not by me [until now]. Please remove it and update the documentation! James. ___ nginx mailing list nginx

Re: truncated output for large files through proxy

2013-06-17 Thread James Lee
ithout-mail_smtp_module --with-http_gzip_static_module --with-http_realip_module --with-http_ssl_module --with-http_stub_status_module --with-debug James. nginx.debug.log.bz2 Description: application/bzip ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

truncated output for large files through proxy

2013-06-14 Thread James Lee
James. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx 1.4 problem

2013-05-06 Thread James Cloos
ng them. :) My expectation was that it would work, but it seems some applications force it to work by Doing What I Mean behind my back. :) Evidently I'm going to have to write a test app to confirm things. Probably later today. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6 ___

Re: Nginx 1.4 problem

2013-05-06 Thread James Cloos
No it is not expected. Everything else sees conenctions to anything in 127.0.0.0/8 when listen(2)ing to ::1 with bindv6only off. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx 1.4 problem

2013-05-02 Thread James Cloos
>>>>> "AN" == Alder Network writes: AN> I tried AN> listen [::]:80 ipv6only=off; Although [::]:80 ipv6only=off; does work as advertized (including for localhost sockets), [::1]:80 ipv6only=off; fails to respond to v4 connections. -JimC -- James Cloos