Run a reverse proxy in Windows (caddy) #5490
FlattusBlastus
started this conversation in
Wiki
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Download the latest caddy from https://github.com/caddyserver/caddy/releases
Expand Assets. The file will be named: "caddy_versionnumber_windows_amd64.zip".
Unzip the downloaded file to C:\caddy
Create a file named Caddyfile in notepad or other editor. Make sure it does not have a file extension.
Caddyfile
NOTE: the email in the global section is required for acquiring a cert.
Execute the following command in an administrative command prompt
sc.exe create caddy start=auto binPath="C:\caddy\caddy.exe run -c="C:\caddy\Caddyfile""
Reboot!
Beta Was this translation helpful? Give feedback.
All reactions