Getting issue for use dynamodb storage in caddfyfile

hey I am trying to store ssl in dynamodb for that I have installed dynamodb module but whenever I am including in my Caddyfile I am getting this error , I am unable to resolve

Caddyfile :-

{
storage dynamodb {
table CertMagic
aws_region us-east-1
aws_disable_ssl false
lock_timeout 7
lock_polling_interval 7
}
on_demand_tls {
ask http://127.0.0.1:5555
burst 5
interval 2m
}

log {
    output file /var/log/caddy/access.log
    format json
}

}

https:// {
tls {
on_demand
}

root * /var/www/html/public
encode gzip
file_server

log {
    output file /var/log/caddy/site-access.log
    format json
}

@not_exists {
    not file
}

handle / {
    reverse_proxy 127.0.0.1:8000 {
        header_down Strict-Transport-Security "max-age=31536000"
    }
}

handle /index.php* {
    try_files /not_exists @not_exists
    reverse_proxy @not_exists 127.0.0.1:8000 {
        header_down Strict-Transport-Security "max-age=31536000"
    }
}

handle_errors {
    @404 {
        expression {http.error.status_code} == 404
    }
    rewrite @404 /404.html
    file_server
}

}

Please fill out the help topic template as per the forum rules. Mind your post’s formatting, Your config is hard to read because you didn’t use code formatting.

You didn’t show any error, you just posted your config. That’s not enough, we can’t help with just that.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.