dokku / dokku-redirect

A plugin for dokku that gives the ability to set simple redirects for an application
MIT License
107 stars 9 forks source link

Redirecting plain to www. #18

Closed skorokithakis closed 6 years ago

skorokithakis commented 7 years ago

I'm trying to redirect mydomain.com to www.mydomain.com, and while that works, the problem is that www.mydomain.com then keeps redirecting back to itself, when it shouldn't.

skorokithakis commented 7 years ago

This is only happening when I have a TLS certificate installed, maybe there's a conflict with the http->https redirect?

skorokithakis commented 7 years ago

Hmm, I destroyed and recreated my app and now I can't reproduce this. However, I did manage to verify it with curl initially, so it wasn't a browser cache, the server was actually redirecting to itself.

josegonzalez commented 6 years ago

Given that we don't have a reproduction, I'm going to close this for now. If someone can come up with a way to reproduce this, I can take a closer look.