mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 05:53:54 +03:00
[PR #1945] [CLOSED] Add Cloudflared configuration with Internet & Internet+LAN examples #1668
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1945
Author: @k3vmcd
Created: 11/29/2025
Status: ❌ Closed
Base:
main← Head:cloudflared📝 Commits (4)
479919eAdd Cloudflare Tunnel example with configuration files and usage instructionsa8018c1Refactor Cloudflare Tunnel configuration to use environment variables for better flexibility5e65a04Add PHP upload limit configuration and update related files37cf975Add Cloudflare Tunnel + LAN example📊 Changes
8 files changed (+226 additions, -0 deletions)
View changed files
➕
examples/cloudflare-tunnel-lan/.env.example(+22 -0)➕
examples/cloudflare-tunnel-lan/Caddyfile(+38 -0)➕
examples/cloudflare-tunnel-lan/README.md(+24 -0)➕
examples/cloudflare-tunnel-lan/docker-compose.yml(+43 -0)➕
examples/cloudflare-tunnel/.env.example(+19 -0)➕
examples/cloudflare-tunnel/Caddyfile(+18 -0)➕
examples/cloudflare-tunnel/README.md(+20 -0)➕
examples/cloudflare-tunnel/docker-compose.yml(+42 -0)📄 Description
This pull request adds two new example configurations for running Pelican Panel behind a Cloudflare Tunnel, with one variant also supporting secure LAN access via HTTPS. Each example includes a complete Docker Compose stack, Caddy server configuration, environment variable templates, and documentation to help users deploy Pelican Panel securely in different network scenarios.
Cloudflare Tunnel + LAN HTTPS Example:
Configuration and documentation:
cloudflare-tunnel-lanexample with a fulldocker-compose.ymlstack that binds HTTPS on a specified LAN IP for local clients, while keeping Cloudflare Tunnel for remote access.Caddyfilethat serves the app over HTTP for the tunnel and HTTPS (with internal CA) for LAN traffic, including support for higher PHP upload limits..env.examplefile with new variables such asLAN_BIND_ADDRESSto help users configure LAN HTTPS access.README.mdexplaining setup steps, LAN certificate trust, and DNS configuration for split-horizon access.Cloudflare Tunnel Example (Internet-only):
Configuration and documentation:
cloudflare-tunnelexample with a minimal Docker Compose stack for serving Pelican Panel exclusively through Cloudflare Tunnel, keeping host ports closed.Caddyfiletuned for reverse proxy and upload limits, and a.env.exampletemplate for required environment variables. [1] [2]README.mdguiding users through tunnel setup and deployment.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.