WebFaction
Community site: login faq

I have a site that has an http and https component to it. I have set up both http and https websites and linked them to my application. My application in turn looks at the HTTP header to see if the url requested is http or https. If certain pages are hit with http, the user is automatically redirected to https. It appears that nginx is stripping the https when the request is subsequently sent to my application, which then sends a redirect to https... and an infinite loop (which is caught by the browser) ensues.

How do I get nginx to stop stripping the https.

asked 12 Feb '13, 08:58

percious
13
accept rate: 0%

edited 12 Feb '13, 08:58

There shouldn't be anything on the Nginx side that strips the HTTPS (assuming it is our Nginx and not a private instance) - could I ask you to please log a support ticket from your WebFaction control panel so that we can look at the site in more detail to see what's going on? Thanks - Wayne K, WebFaction Support.

(12 Feb '13, 17:23) waynek
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×186
×75

question asked: 12 Feb '13, 08:58

question was seen: 1,717 times

last updated: 12 Feb '13, 17:23

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM