Hello, I get handshake errors and the site fails to load when trying to access my Website via www.matrixebiz.cc, http://matrixebiz.cc is fine. In my caddyfile I have;
matrixebiz.cc:80 {
root * /www/
file_server
}
matrixebiz.cc:443 {
root * /www/
file_server
}
Should I change this to *.matrixebiz.cc ?
Just add another site block:
www.matrixebiz.cc:80, www.matrixebiz.cc:443 {
redir * https://matrixebiz.cc{uri}
}
1 Like
Okay, thanks I’ll give it a go.
matt
(Matt Holt)
February 7, 2020, 5:22pm
4
You can also drop the port numbers :80
and :443
:
matrixebiz.cc {
root * /www/
file_server
}
www.matrixebiz.cc {
redir https://matrixebiz.cc{uri}
}
That’s all you need.
When I have my caddyfile with just the single domain name I get constant scrolling of the bellow;
So I put in both ports specifically like above and that doesn’t happen.
matt
(Matt Holt)
February 7, 2020, 9:50pm
6
Can you provide more details so we can reproduce the same errors?
system
(system)
Closed
May 7, 2020, 9:50pm
7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.