How to redirect to www? #1214
Unanswered
codepilotsf
asked this question in
Q&A
Replies: 2 comments
-
By default, Kamal Proxy routes requests only to matching hosts and does not currently support redirection. However, you can achieve this functionality as such:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Okay so then my app responds on both hosts and I guess I just redirect in my application controller? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got Kamal 2 working great and deploying my app to www.example.com. But if a user directly navigates to example.com without "www", they hit an ugly "connection is not secure" error message. How can I get Kamal Proxy to do what (in my humble opinion) it should already be doing by default?
Beta Was this translation helpful? Give feedback.
All reactions