Skip to content

Instantly share code, notes, and snippets.

@Mukundan314
Created December 14, 2019 06:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mukundan314/c2fe4cb44a6386d00d6b69acd6130df9 to your computer and use it in GitHub Desktop.
Save Mukundan314/c2fe4cb44a6386d00d6b69acd6130df9 to your computer and use it in GitHub Desktop.
*:8080 {
gzip
tls self_signed
root /usr/share/caddy
}
import caddy.conf.d/*.conf
<!DOCTYPE html>
<html>
<head>
<title>GCI Caddy</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
● caddy.service - Caddy HTTP/2 web server
Loaded: loaded (/usr/lib/systemd/system/caddy.service; disabled; vendor preset: disabled)
Active: active (running) since Sat 2019-12-14 11:50:12 IST; 5s ago
Docs: https://caddyserver.com/docs
Main PID: 867579 (caddy)
Tasks: 11 (limit: 38391)
Memory: 2.3M
CGroup: /system.slice/caddy.service
└─867579 /usr/bin/caddy -log stdout -agree -conf /etc/caddy/caddy.conf -root /tmp
Dec 14 11:50:12 alpha systemd[1]: Started Caddy HTTP/2 web server.
Dec 14 11:50:12 alpha caddy[867579]: 2019/12/14 11:50:12 [INFO] Caddy version: unknown
Dec 14 11:50:12 alpha caddy[867579]: 2019/12/14 11:50:12 [WARNING] No files matching import glob pattern: caddy.conf.d/*.conf
Dec 14 11:50:12 alpha caddy[867579]: 2019/12/14 11:50:12 [INFO][cache:0xc0000aa780] Started certificate maintenance routine
Dec 14 11:50:12 alpha caddy[867579]: 2019/12/14 11:50:12 [WARNING] Stapling OCSP: no OCSP stapling for [*]: no OCSP server specified in certificate
Dec 14 11:50:12 alpha caddy[867579]: Activating privacy features... done.
Dec 14 11:50:12 alpha caddy[867579]: Serving HTTPS on port 8080
Dec 14 11:50:12 alpha caddy[867579]: https://*:8080
Dec 14 11:50:12 alpha caddy[867579]: 2019/12/14 11:50:12 [INFO] Serving https://*:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment