Forcing https not working on localhost, what am I missing?

whoot! finally!. Ok so it looks like I have to use the host option too.

  force_ssl: [hsts: false, rewrite_on: [:x_forwarded_proto], exclude: [], host: "localhost:4001"]
2 Likes