feat: add syntax highlighting for Caddyfile

This commit is contained in:
Cosmic Horror committed 2026-06-17 04:44:53 -06:00
1 parent 5bb35b4bed
commit 6b8887133d
5 files changed
+55

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
(logging) {
log {
output file /var/log/caddy.log
}
}
# a comment
localhost:8080, example.com {
root * /var/www/site
file_server
reverse_proxy /.well-known/matrix/* localhost:8008 {
header_up Host {upstream_hostport}
}
import logging
}
www.example.com {
redir https://example.com{uri} permanent
import logging
}
status.example.com {
reverse_proxy localhost:3002
import logging
}