3

I've been playing with HTTPS in a local rails application using the 'answer' from the following question: Configuring WEBrick to use SSL in Rails 4

So i was running rails via a 'second /bin/rails_temp file and the https was working

now going back to my original rails file and just running 'rails s' I get redirected to https for everything

I've tried clearing cache in browsers, loading new browsers, removing /tmp/ contents

Totally lost!

Community
  • 1
  • 1
rogy
  • 440
  • 6
  • 23

1 Answers1

0

Are you forcing SSL anywhere in your application?

For example config.force_ssl = true

Perhaps changing the port would affect the behaviour?

:Port => 3000, # Specify the port here

Perhaps your laptop is caching the state of the server so changing it's address (using /etc/hosts) would help?

127.0.0.1 sslapplication.local
Pez Cuckow
  • 14,048
  • 16
  • 80
  • 130
  • 1
    It was infact your first point (thanks @IuriG. also) in my applications.rb and then removing all my caches and that worked. – rogy Mar 04 '14 at 16:50