Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7445477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:49:47+00:00 2026-05-29T11:49:47+00:00

I have a drupal site that runs on nginx and php-fpm with haproxy balancing

  • 0

I have a drupal site that runs on nginx and php-fpm with haproxy balancing between multiple servers.

I have two services set up for haproxy: http and https.

if i go to http://subdomain.domain.com, it works fine.
If I go to https://subdomain.domain.com, it also works fine.
If I then go back to http it now redirects to https. This happens in firefox and chrome, but not in IE.

Is there some setting somewhere that redirects to https automatically if it knows that it exists? Perhaps if a secure header is set?

I tried looking at LiveHTTPHeaders, but it only shows the https portion at this point.
I tried looking in Chrome, and it says this:

t=1312233405229 [st=  0] +REQUEST_ALIVE                             [dt=192]
t=1312233405229 [st=  0]     URL_REQUEST_START_JOB                  [dt=  0]
                             --> load_flags = 1114241 (ENABLE_LOAD_TIMING | MAIN_FRAME | VALIDATE_CACHE | VERIFY_EV_CERT)
                             --> method = "GET"                   
                             --> priority = 0                     
                             --> url = "http://subdomain.domain.com/"   
t=1312233405229 [st=  0]    +URL_REQUEST_START_JOB                  [dt=  0]
                             --> load_flags = 1114241 (ENABLE_LOAD_TIMING | MAIN_FRAME | VALIDATE_CACHE | VERIFY_EV_CERT)
                             --> method = "GET"                   
                             --> priority = 0                     
                             --> url = "http://subdomain.domain.com/"   
t=1312233405229 [st=  0]        URL_REQUEST_REDIRECTED              
                                --> location = "https://subdomain.domain.com/"

It seems to be doing a redirect, but doesn’t say why.

I tried sniffing with Wireshark, but wasn’t able to make any sense of it, as I can’t get the SSL decryption to work (I have the key).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:49:48+00:00Added an answer on May 29, 2026 at 11:49 am

    I have figured this out. I had a setting in nginx: add_header Strict-Transport-Security “max-age=7200”; This is a new feature supported by chrome and firefox 4: chromium.org/sts

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a intranet site that runs on Drupal. If an employee hits the
I have a rather complicated deploy setup for our Drupal site that is a
i would like to have a block on my drupal site(latest version) that displays
I have added two modules in my drupal site called.... 1. me alias 2.
I have an old drupal site that I'd like to upgrade, but I need
I am working on a Drupal 6 site that some CSS issues. I have
I have a Drupal site that needs to display a unique header image based
We have a Drupal site that uses Organic Groups to represent companies. I'm looking
I am probably asking a noob question... however: I have a Drupal site that
I have a Drupal site using jQuery 1.3, so that unfortunately I cannot use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.