If you are running Ruby on Rails, there is a chance that the 
"config.force_ssl = true" value is set. That alone will force HTTP to 
redirect to HTTPS.


To solve this, navigate to your Ruby on Rails site


cd /path/to/#{your_site}/current/config/environments

and edit any file in there that is active (I did them all in my case since 
I am deliberately eliminating SSL from my Chef cookbook since SSL 
termination will occur at the load balancers.


The particular line to search for will be like this:


config.force_ssl = true

Change that line to this:


config.force_ssl = false

Next, simply restart nginx to apply the change: 

service nginx restart

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/d35e326d-4f72-4945-852e-86d6a4ac1c93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to