1. Caddy version (caddy version
):
v2.3.0.
2. How I run Caddy:
a. System environment:
Operating System: Ubuntu 18.04.4 LTS
Kernel: Linux 4.15.0-140-generic
Architecture: x86-64
b. Command:
caddy start
c. Service/unit/compose file:
[Unit]
Description=Caddy
Documentation=https://caddyserver.com/docs/
After=network.target network-online.target
Requires=network-online.target
[Service]
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 Caddyfile or JSON config:
a******.d***********.net {
root * /var/www/organizr.local/html
php_fastcgi unix//run/php/php8.0-fpm.sock
rewrite /api/v2/* /api/v2/index.php?{query}
file_server
reverse_proxy /ombi* 127.0.0.1:5000
reverse_proxy /tautulli* 127.0.0.1:8181
reverse_proxy /nzbget* 127.0.0.1:6789
reverse_proxy /transmission* 127.0.0.1:9091
reverse_proxy /nzbhydra2* 127.0.0.1:5076
reverse_proxy /radarr* 127.0.0.1:7878
reverse_proxy /jackett* 127.0.0.1:9117
reverse_proxy /bazarr* 127.0.0.1:6767
reverse_proxy /sonarr* 127.0.0.1:8989
reverse_proxy /calibre-web* http://localhost:8083 {
header_up X-Script-Name /calibre-web
}
}
3. The problem I’m having:
There is a caddyfile on github but it is for docker compose. But i have installed it manually without docker. So i cant start it with that caddyfile.