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

Use Caddy 2.x syntax #86

Merged
merged 17 commits into from
Jul 9, 2023
Merged

Use Caddy 2.x syntax #86

merged 17 commits into from
Jul 9, 2023

Conversation

smortex
Copy link
Member

@smortex smortex commented Jul 9, 2023

Existing examples where updated following instructions from: https://caddyserver.com/docs/v2-upgrade

This also include:

Fixes #34
Fixes #66

CI shows that the module configure caddy with unsupported settings and
pass unsupporte command line arguments to the daemon. These where legacy
settings / options that got deprecated with Caddy 2.x and are no
removed.

Adjust the produced config so that it is valid in regard of the current
configuration specification, and fix the cli arguments to match what is
currently supported.

This fix acceptance tests.
@smortex smortex changed the title Fix syntax of the config / CLI Use Caddy 2.x syntax Jul 9, 2023
@smortex smortex merged commit 00501c4 into master Jul 9, 2023
7 of 9 checks passed
@smortex smortex deleted the fix-syntax branch July 9, 2023 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

End support for Caddy 1 Support for caddy v2
6 participants