This runbook describes how to expose ISPConfig apps (phpMyAdmin, webmail, rspamd) running on
localhost:8081 through Cloudflare Tunnel using an HTTP-only Apache origin.
apps<tunnel-name>.cfargotunnel.com
ingress:
- hostname: panel.example.com
service: http://localhost:8080
- hostname: admin.example.com
service: http://localhost:8081
- hostname: apps.example.com
service: http://localhost:8081
- service: http_status:404
Listen 80 Listen 443 Listen 8081
ServerAdmin webmaster@localhost DocumentRoot /usr/local/ispconfig/apps Options FollowSymLinks AllowOverride None Require all granted SSLStaplingCache shmcb:/var/run/ocsp(128000)
Access phpMyAdmin through:
https://apps.example.com/phpmyadmin
Do not access phpMyAdmin through panel.example.com, as it causes protocol mismatches and
redirect loops.
Routes are not required for phpMyAdmin or any other web applications. They are only used for private network CIDR routing. All apps traffic should be routed through ingress rules.
curl -v https://apps.example.com/phpmyadmin
This configuration exposes phpMyAdmin and other ISPConfig apps securely through Cloudflare Tunnel using an HTTP-only origin.