Replies: 2 comments 1 reply
-
This is not a CapRover specific issue, so your post belongs elsewhere. However, I will say that you need to make sure you are using the correct syntax to get what you want. Something like this should remove that second redirect.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Sorry, I solved it myself. Sincerely. |
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
-
Hello.
I set up CapRover and deployed the site using Apache's images.
This site has forced SSL enabled.
This site has several redirects defined in
.htaccess
, but when redirecting, it goes throughhttp
once.I think it would be better if you could redirect to
https
without going throughhttp
.I think it's probably because Apache doesn't recognize it as an SSL site, but is there any workaround?
The contents of
.htaccess
are as follows.redirect 301 /page1.html /page2.html
The execution result of
curl
is as follows.Sincerely.
Beta Was this translation helpful? Give feedback.
All reactions