1. Output of caddy version
:
v2.4.6 h1:HGkGICFGvyrodcqOOclHKfvJC0qTU7vny/7FhYp9hNw=
2. How I run Caddy:
systemctl start caddy
a. System environment:
CentOS Linux release 7.9.2009 (Core)
b. Command:
c. Service/unit/compose file:
`
# caddy.service
#
# For using Caddy with a config file.
#
# Make sure the ExecStart and ExecReload commands are correct
# for your installation.
#
# See https://caddyserver.com/docs/install for instructions.
#
# WARNING: This service does not use the --resume flag, so if you
# use the API to make changes, they will be overwritten by the
# Caddyfile next time the service is restarted. If you intend to
# use Caddy's API to configure it, add the --resume flag to the
# `caddy run` command or use the caddy-api.service file instead.
[Unit]
Description=Caddy
Documentation=https://caddyserver.com/docs/
After=network.target network-online.target
Requires=network-online.target
[Service]
Type=notify
User=caddy
Group=caddy
ExecStart=/usr/bin/caddy run --environ --config /etc/caddy/Caddyfile
ExecReload=/usr/bin/caddy reload --config /etc/caddy/Caddyfile
TimeoutStopSec=5s
LimitNOFILE=1048576
LimitNPROC=512
PrivateTmp=true
ProtectSystem=full
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target
d. My complete Caddy config:
The Caddyfile is an easy way to configure your Caddy web server.
#
# Unless the file starts with a global options block, the first
# uncommented line is always the address of your site.
#
# To use your own domain name (with automatic HTTPS), first make
# sure your domain's A/AAAA DNS records are properly pointed to
# this machine's public IP, then replace ":80" below with your
# domain name.
#{
# debug
#}
groups.queernet.org {
log {
output file /var/log/caddy/groups.queernet.org-access.log
level debug
}
log {
output file /var/log/caddy/groups.queernet.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
groups.onlinepolicy.net {
log {
output file /var/log/caddy/groups.onlinepolicy.net-access.log
level debug
}
log {
output file /var/log/caddy/groups.onlinepolicy.net-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
hosting.onlinepolicy.net {
log {
output file /var/log/caddy/hosting.onlinepolicy.net-access.log
level debug
}
log {
output file /var/log/caddy/hosting.onlinepolicy.net-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.acleather.org {
log {
output file /var/log/caddy/lists.acleather.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.acleather.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.anitadoherty.org {
log {
output file /var/log/caddy/lists.anitadoherty.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.anitadoherty.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
#lists.balasc.net {
# log {
# output file /var/log/caddy/lists.balasc.net-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.balasc.net-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.caccr.org {
# log {
# output file /var/log/caddy/lists.caccr.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.caccr.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
lists.ccadv.org {
log {
output file /var/log/caddy/lists.ccadv.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.ccadv.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.faela.org {
log {
output file /var/log/caddy/lists.faela.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.faela.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.fcasv.org {
log {
output file /var/log/caddy/lists.fcasv.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.fcasv.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.forge-forward.org {
log {
output file /var/log/caddy/lists.forge-forward.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.forge-forward.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.freestateofsf.org {
log {
output file /var/log/caddy/lists.freestateofsf.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.freestateofsf.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.gaycallers.org {
log {
output file /var/log/caddy/lists.gaycallers.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.gaycallers.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.generategathering.org {
log {
output file /var/log/caddy/lists.generategathering.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.generategathering.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.handtohandkajukenbo.com {
log {
output file /var/log/caddy/lists.handtohandkajukenbo.com-access.log
level debug
}
log {
output file /var/log/caddy/lists.handtohandkajukenbo.com-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.iaglcwdc.org {
log {
output file /var/log/caddy/lists.iaglcwdc.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.iaglcwdc.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
#lists.nextarts.org {
# log {
# output file /var/log/caddy/lists.nextarts.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.nextarts.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
lists.occupybernal.org {
log {
output file /var/log/caddy/lists.occupybernal.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.occupybernal.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
#lists.occupycastro.org {
# log {
# output file /var/log/caddy/lists.occupycastro.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.occupycastro.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.occupyed.org {
# log {
# output file /var/log/caddy/lists.occupyed.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.occupyed.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.occupyeducationca.org {
# log {
# output file /var/log/caddy/lists.occupyeducationca.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.occupyeducationca.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.occupymission.org {
# log {
# output file /var/log/caddy/lists.occupymission.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.occupymission.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.occupysfhousing.org {
# log {
# output file /var/log/caddy/lists.occupysfhousing.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.occupysfhousing.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.occupysfsu.org {
# log {
# output file /var/log/caddy/lists.occupysfsu.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.occupysfsu.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
lists.occupytheauctions.org {
log {
output file /var/log/caddy/lists.occupytheauctions.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.occupytheauctions.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.occupywallstwest.org {
log {
output file /var/log/caddy/lists.occupywallstwest.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.occupywallstwest.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
lists.onlinepolicy.org {
log {
output file /var/log/caddy/lists.onlinepolicy.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.onlinepolicy.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
#lists.phitau-alums.org {
# log {
# output file /var/log/caddy/lists.phitau-alums.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.phitau-alums.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.prismcomics.org {
# log {
# output file /var/log/caddy/lists.prismcomics.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.prismcomics.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
lists.queeratsmc.net {
log {
output file /var/log/caddy/lists.queeratsmc.net-access.log
level debug
}
log {
output file /var/log/caddy/lists.queeratsmc.net-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
#lists.recresponse.net {
# log {
# output file /var/log/caddy/lists.recresponse.net-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.recresponse.net-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
lists.ritualart.org {
log {
output file /var/log/caddy/lists.ritualart.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.ritualart.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
#lists.saveccsf.org {
# log {
# output file /var/log/caddy/lists.saveccsf.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.saveccsf.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
lists.sbcds.org {
log {
output file /var/log/caddy/lists.sbcds.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.sbcds.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
#lists.shoreline-milw.org {
# log {
# output file /var/log/caddy/lists.shoreline-milw.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.shoreline-milw.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.ssml-mor.org {
# log {
# output file /var/log/caddy/lists.ssml-mor.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.ssml-mor.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.stopdualtracking.org {
# log {
# output file /var/log/caddy/lists.stopdualtracking.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.stopdualtracking.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.texastwisters.org {
# log {
# output file /var/log/caddy/lists.texastwisters.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.texastwisters.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
lists.tgeu.org {
log {
output file /var/log/caddy/lists.tgeu.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.tgeu.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
#lists.theopusproject.org {
# log {
# output file /var/log/caddy/lists.theopusproject.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.theopusproject.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.thresholdmadison.org {
# log {
# output file /var/log/caddy/lists.thresholdmadison.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.thresholdmadison.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.uotc.org {
# log {
# output file /var/log/caddy/lists.uotc.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.uotc.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
#lists.wff-lists.org {
# log {
# output file /var/log/caddy/lists.wff-lists.org-access.log
# level debug
# }
# log {
# output file /var/log/caddy/lists.wff-lists.org-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
#
lists.zaptet.org {
log {
output file /var/log/caddy/lists.zaptet.org-access.log
level debug
}
log {
output file /var/log/caddy/lists.zaptet.org-error.log
level error
}
handle_path /static-sympa/css* {
root * /var/lib/sympa/css
file_server
}
handle_path /static-sympa* {
root * /usr/share/sympa/static_content
file_server
}
handle {
redir / /sympa
reverse_proxy unix//run/sympa/wwsympa.socket {
transport fastcgi {
}
}
}
}
#sandbox.onlinepolicy.net {
# log {
# output file /var/log/caddy/sandbox.onlinepolicy.net-access.log
# level debug
# }
# log {
# output file /var/log/caddy/sandbox.onlinepolicy.net-error.log
# level error
# }
#
# handle_path /static-sympa/css* {
# root * /var/lib/sympa/css
# file_server
# }
# handle_path /static-sympa* {
# root * /usr/share/sympa/static_content
# file_server
# }
# handle {
# redir / /sympa
# reverse_proxy unix//run/sympa/wwsympa.socket {
# transport fastcgi {
# }
# }
# }
#}
## Refer to the Caddy docs for more information:
## https://caddyserver.com/docs/caddyfile
3. The problem I’m having:
Browsing to the main URL of any of the sites yields a white page.
rklorese@rklorese-a01 ~ % curl -v https://groups.queernet.org
* Trying 216.252.162.114:443...
* Connected to groups.queernet.org (216.252.162.114) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=groups.queernet.org
* start date: Sep 14 00:00:00 2022 GMT
* expire date: Dec 13 23:59:59 2022 GMT
* subjectAltName: host "groups.queernet.org" matched cert's "groups.queernet.org"
* issuer: C=AT; O=ZeroSSL; CN=ZeroSSL ECC Domain Secure Site CA
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7f78f980ce00)
> GET / HTTP/2
> Host: groups.queernet.org
> user-agent: curl/7.79.1
> accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
< HTTP/2 302
< location: /sympa
< server: Caddy
< content-length: 0
< date: Thu, 15 Sep 2022 22:17:02 GMT
<
* Connection #0 to host groups.queernet.org left intact
rklorese@rklorese-a01 ~ %
4. Error messages and/or full log output:
No identifiable error messages in log output.`
- What I already tried: