Caddy: On-Demand TLS, Redirect http->https fails

Created on 26 Apr 2017  路  1Comment  路  Source: caddyserver/caddy

1. What version of Caddy are you using (caddy -version)?

0.10.0

2. What are you trying to do?

Use On-Demand TLS, without specifying the scheme.

3. What is your entire Caddyfile?

  *.bla.something {
    tls email@address {
      max_certs 10
    }
  }

4. How did you run Caddy (give the full command and describe the execution environment)?

N/A

5. Please paste any relevant HTTP request(s) here.

N/A

6. What did you expect to see?

Redirect http://something.bla.something to https://something.bla.something

7. What did you see instead (give full error messages and/or log)?

Redirect to https://*.bla.something, which of course fails.

8. How can someone who is starting from scratch reproduce the bug as minimally as possible?

N/A

bug

Most helpful comment

Oops -- not quite sure how this slipped through, but I can see where the missing test cases are. Fix coming soon.

>All comments

Oops -- not quite sure how this slipped through, but I can see where the missing test cases are. Fix coming soon.

Was this page helpful?
0 / 5 - 0 ratings