Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Can't build with latest version of Caddy #8

Closed
eddiejibson opened this issue May 27, 2020 · 2 comments
Closed

Can't build with latest version of Caddy #8

eddiejibson opened this issue May 27, 2020 · 2 comments

Comments

@eddiejibson
Copy link

Hi,

I'm currently building via xcaddy which is essentially builds caddy with the option to supply the modules via command arguments.

Here's the command:

./xcaddy build --with github.com/gamalan/caddy-tlsredis --with github.com/pteich/caddy-tlsconsul 

However, despite no build errors popping up, I see no redis storage module showing up with caddy list-modules. caddy.storage.tlsconsul shows up fine, though. Am I using the wrong package URL? Or is there currently a bug I'm not aware of?

Same happened when I built from source without the use of xcaddy and straight from scratch, again using the URL github.com/gamalan/caddy-tlsredis.

Thanks.

@mholt
Copy link
Contributor

mholt commented May 27, 2020

Looks like caddy 2 support is still in a beta tag, which Go modules won't use automatically. Specificy the version manually by appending @VERSION to the module name (replacing VERSION with a commit or tag).

@eddiejibson
Copy link
Author

@mholt Great, thanks. Works fine now.

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

No branches or pull requests

2 participants