Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unrecognized global option: module #58

Open
Yamakasi opened this issue Jun 9, 2021 · 0 comments
Open

unrecognized global option: module #58

Yamakasi opened this issue Jun 9, 2021 · 0 comments

Comments

@Yamakasi
Copy link

Yamakasi commented Jun 9, 2021

Hi,

I wanted to try this image but coming straight from Caddy I have an issue with my Caddyfile and get the following error:

unrecognized global option: module

{
    # Global options block. Entirely optional, https is on by default
    # Optional email key for lets encrypt
    email [email protected]
    # Optional staging lets encrypt for testing. Comment out for production.
#    acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
    "module": "file_system",
        "root": ""

}

When I disable this my container starts fine but I cannot visit my hosts which were working under Caddy before.

caddy-gen_caddy-gen.1.vgn5t1o0nmdf@mydockerserver    | caddy.1    | {"level":"info","ts":1623229205.4199371,"logger":"watcher","msg":"watching config file for changes","config_file":"/etc/caddy/Caddyfile"}
caddy-gen_caddy-gen.1.vgn5t1o0nmdf@mydockerserver    | caddy.1    | Successfully started Caddy (pid=27) - Caddy is running in the background

What to do/check ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant