Monitorr reverse proxy help

1. Caddy version (caddy version):

v2.0.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
route /monitor*  {
   root * /var/www/monitor
   php_fastcgi 127.0.0.1:9000
   file_server
   templates {
   ext .php
}
}

3. The problem I’m having:

I want to run monitorr app (GitHub - Monitorr/Monitorr: "Monitorr” is a self-hosted PHP web app that monitors the status of local and remote network services, websites, and applications.) on reverse proxy /monitor location like other services which i have.

4. Error messages and/or full log output:

5. What I already tried:

I have added this lines to caddy file but it doesnt work.

route /monitor*  {
   root * /var/www/monitor
   php_fastcgi 127.0.0.1:9000
   file_server
   templates {
   ext .php
}

6. Links to relevant resources:

This topic was automatically closed after 30 days. New replies are no longer allowed.