Re: Nginx serving wrong site
On Mon, Jan 08, 2024 at 11:48:13AM -0500, James Read wrote: Hi there, > OK this is a browser issue and not a nginx issue. I just accessed the site > with lynx and it is showing the right site. However with Chrome it is > showing the wrong site. This may have something to do with the fact that I > had to clear the HSTS cache in the browser in order to be able to see > anything. Thanks for sharing the resolution with the list. It looks like this was a case where you wanted the browser to talk to your nginx on port 80; but the browser was instead talking to a thing on port 443. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx
Re: Custom redirect for one page from https to http with different name.
On Mon, Jan 08, 2024 at 02:22:14PM -0500, James Read wrote: Hi there, > how would I redirect https://example.com/oldname.php to > http://example.com/newname.php Within the https server{} block: location = /oldname.php { return 301 http://example.com/newname.php; } should do it. (Other 30x numbers can work too.) Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx
[ANN] OpenResty 1.25.3.1 released
Hi folks, I am happy to announce the new formal release, 1.25.3.1, of our OpenResty web platform based on NGINX and LuaJIT. It is the first OpenResty version based on Nginx core 1.25.3. The full announcement, download links, and change logs can be found below: https://openresty.org/en/ann-1025003001.html You can download the software packages here: https://openresty.org/en/download.html We recently added official rpm package repository for Amazon Linux 2023: https://openresty.org/en/linux-packages.html OpenResty is a full-fledged web platform by bundling the standard Nginx core, LuaJIT, lots of 3rd-party Nginx modules and Lua libraries, as well as most of their external dependencies. See OpenResty's homepage for details: https://openresty.org/ We have run extensive testing on our Amazon EC2 test cluster and ensured that all the components (including the Nginx core) play well together. The latest test report can always be found here: https://qa.openresty.org/ Enjoy! ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx