Created
January 22, 2019 23:48
-
-
Save oscartbeaumont/75a94ed277799185348269530990edc0 to your computer and use it in GitHub Desktop.
Caddy Bug Demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Alpine Linux Installation | |
# Port 8443 mapped to 443 | |
# Port 8080 mapped to 80 | |
apk add ca-certificates nano | |
mkdir /workspace | |
cd /workspace | |
wget https://github.com/mholt/caddy/releases/download/v0.11.2/caddy_v0.11.2_linux_amd64.tar.gz | |
tar -xvzf caddy_v0.11.2_linux_amd64.tar.gz | |
nano Caddyfile | |
https://lan.otbeaumont.me { | |
status 200 / | |
} | |
https://drone.otbeaumont.me { | |
status 200 / | |
} | |
./caddy -conf ./Caddyfile -agree -email [email protected] -ca https://acme-staging-v02.api.letsencrypt.org/directory -https-port 8443 -http-port 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment