How to start Caddy V2 Reverse Proxy as a Windows Service

1. Caddy version (caddy version): Caddy 2

2. How I run Caddy:

I’m running Caddy 2 successfully manually using the CMD steps “run caddy”

a. System environment:

Windows Essential Server

b. Command:

caddy start

c. Service/unit/compose file:

paste full file contents here

d. My complete Caddyfile or JSON config:

} {

3. The problem I’m having:

4. Error messages and/or full log output:

5. What I already tried:

6. Links to relevant resources:

I reviewed these links, but it still wasn’t clear to me on how to make this work. Any assistance is appreciated. Thanks

UPDATE: Solution

I used NSSM following these instructions that I found. Hope it helps others.
Snarebusch comments on DuckDNS, Let's Encrypt, and Windows Server 2016


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