Closed NetOpWibby closed 4 months ago
import
works in the Caddyfile, which is where CoreDNS gets it from. To understand what's going on, please share further details.
I've attached a template below that will help make this easier and faster! This will require some effort on your part -- please understand that we will be dedicating time to fix the bug you are reporting if you can just help us understand it and reproduce it easily.
This template will ask for some information you've already provided; that's OK, just fill it out the best you can. :+1: I've also included some helpful tips below the template. Feel free to let me know if you have any questions!
Thank you again for your report, we look forward to resolving it!
## 1. Environment
### 1a. Operating system and version
```
paste here
```
### 1b. Caddy version (run `caddy version` or paste commit SHA)
```
paste here
```
### 1c. Go version (if building Caddy from source; run `go version`)
```
paste here
```
## 2. Description
### 2a. What happens (briefly explain what is wrong)
### 2b. Why it's a bug (if it's not obvious)
### 2c. Log output
```
paste terminal output or logs here
```
### 2d. Workaround(s)
### 2e. Relevant links
## 3. Tutorial (minimal steps to reproduce the bug)
Environment: Please fill out your OS and Caddy versions, even if you don't think they are relevant. (They are always relevant.) If you built Caddy from source, provide the commit SHA and specify your exact Go version.
Description: Describe at a high level what the bug is. What happens? Why is it a bug? Not all bugs are obvious, so convince readers that it's actually a bug.
Tutorial: What are the minimum required specific steps someone needs to take in order to experience the same bug? Your goal here is to make sure that anyone else can have the same experience with the bug as you do. You are writing a tutorial, so make sure to carry it out yourself before posting it. Please:
curl
.Example of a tutorial:
Create a config file: ``` { ... } ``` Open terminal and run Caddy: ``` $ caddy ... ``` Make an HTTP request: ``` $ curl ... ``` Notice that the result is ___ but it should be ___.
Thanks @mohammed90, I've updated my OP.
I'm sorry, but that still doesn't help. You say
doesn't work in nested Caddy blocks.
What do you mean by "doesn't work"? Are you seeing any error messages?
@mohammed90 No error messages and no warnings when running service caddy status
. In the browser, my site doesn't resolve, I just see a "cannot connect to page" screen.
I see. Then the import
feature works fine. There are no missing features.
Your issue could be:
DNS: Are you sure your A and AAAA records are correct? Is the domain yours and configured properly?
Firewall: Are ports 80 and 443 permitted?
Other: What do you see in Caddy logs?
This looks more like a question about how to use Caddy rather than a bug report or feature request. Since this issue tracker is reserved for actionable development items, I'm going to close this, but we have a community forum where more people will be exposed to your question, including people who may be more expert or experienced with the specific question you're facing. I hope you'll ask your question there, and thanks for understanding!
1. Environment
1a. Operating system and version
1b. Caddy version
1c. Go version
2. Description
2a. What happens
The
tls ca
block doesn't work in nested Caddy blocks.Explicitly setting my cert and key for
tls
works no problem, with being nested.3. Tutorial
Caddyfile
sld/file