mirror of
https://github.com/sharkdp/bat
synced 2026-07-20 16:33:20 +00:00
26 lines
441 B
Caddyfile
Vendored
26 lines
441 B
Caddyfile
Vendored
(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
|
|
}
|