Welcome! Log In Create A New Profile


Change in error_page behavior

November 01, 2010 02:20PM
I used to use this:

  error_page 497 https://domain.com:7878$request_uri;

to redirect requests from the http://domain.com:7878 non-ssl address to the ssl version on the same port. see http://www.ruby-forum.com/topic/156683

This stopped working recently, probably with the latest change to error_page in 0.8.53.

After some trial and error, it seems to be working fine with this:

  error_page 497 =301 https://domain.com:7878$request_uri;

Is that going to give me the same effect as before?
Subject Author Posted

Change in error_page behavior

brianmercer November 01, 2010 02:20PM

Re: Change in error_page behavior

Maxim Dounin November 01, 2010 06:10PM

Re: Change in error_page behavior

Maxim Dounin November 02, 2010 12:08AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready