Cannot adapt from vesion 1.0.3

1. Caddy version (caddy version):


2. How I run Caddy:

a. System environment:

Windows 10 Pro

b. Command:

caddy.exe run

d. My complete Caddyfile or JSON config:


3. The problem Iā€™m having:

Adapt command does not work, trying to adapt from this (coming from 1.0.3): {
header / -Server
root .\webs\test

4. Error messages and/or full log output:


5. What I already tried:

Looking at the non existing documentation for the v2.

Adapt converts a valid configuration to json; but a v1 caddyfile is not a valid v2 caddyfile.

The changes you need to make are documented here.




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