How to redirect `` to ``?

(Joun Qin) #1

My website is powered by GitHub Pages with HTTPS support, so I want to redirect all requests including to Caddyfile is as following: {

like Redirect from to

However, when I restart caddy server, there are errors from Let’s Encrypt about rate limits. How to make it working?

(Matthew Fay) #2

There’s nothing Caddy can do about LetsEncrypt’s rate limits, I’m afraid. If you tripped one of their limits, you’ll have to wait a week for it to roll over. In the meantime, you can provide your own certificates to get your site running. Their staging environment has no rate limits, which makes it useful for testing.