Base protocol not configurable #414

Closed
opened 2026-02-05 17:34:03 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @LastSkywalkerER on GitHub (Aug 31, 2025).

Current Behavior

When opening a page through a cloudflare tunnel with https, most routes still try to be requested with http, displaying this in the console

support.js?v=3.3.36.0:1 Mixed Content: The page at 'https://.../admin/nodes/1/edit?tab=--tab' was loaded over HTTPS, but requested an insecure script 'http://.../js/filament/widgets/components/chart.js?v=3.3.36.0'. This request has been blocked; the content must be served over HTTPS.

when opening a page by IP via http everything works fine

.env has correct APP_URL="https://..."

Expected Behavior

pages under http and https work equally correctly

Steps to Reproduce

Run this docker-compose.yml

name: pelican-panel
services:
  panel:
    cpu_shares: 90
    command: []
    container_name: pelican-panel
    depends_on:
      postgres:
        condition: service_healthy
        required: true
      redis:
        condition: service_healthy
        required: true
    deploy:
      resources:
        limits:
          memory: 7751M
    environment:
      - ADMIN_EMAIL=maxdr1998@gmail.com
      - APP_URL=:89
      - DB_CONNECTION=pgsql
      - DB_DATABASE=panel
      - DB_HOST=postgres
      - DB_PASSWORD=r2Utg!7fV@e5sH#pKx9z
      - DB_PORT=5432
      - DB_USERNAME=pelican
      - REDIS_HOST=redis
      - REDIS_PORT=6379
      - XDG_DATA_HOME=/pelican-data
    extra_hosts:
      - host.docker.internal:host-gateway
    healthcheck:
      test:
        - CMD
        - curl
        - -f
        - http://127.0.0.1:89
      timeout: 10s
      interval: 30s
      retries: 5
    image: ghcr.io/pelican-dev/panel:main
    labels:
      icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRke_c3xpkfU53W64PJHy2QfXZweO_Fj3YmQ&s
    ports:
      - target: 89
        published: "89"
        protocol: tcp
    privileged: true
    restart: unless-stopped
    volumes:
      - /DATA/AppData/pelican/panel/data:/pelican-data:rw
      # - /DATA/AppData/pelican/panel/Caddyfile:/etc/caddy/Caddyfile:ro
    devices: []
    cap_add: []
    networks:
      - pelican-network
  postgres:
    cpu_shares: 90
    command: []
    container_name: pelican-postgres
    deploy:
      resources:
        limits:
          memory: 15969M
    environment:
      - POSTGRES_DB=panel
      - POSTGRES_PASSWORD=r2Utg!7fV@e5sH#pKx9z
      - POSTGRES_PORT=5432
      - POSTGRES_USER=pelican
    healthcheck:
      test:
        - CMD-SHELL
        - pg_isready -U pelican -d panel -p 5432
      timeout: 5s
      interval: 10s
      retries: 5
    image: postgres
    labels:
      icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRke_c3xpskfU53W64PJHy2QfXZweO_Fj3YmQ&s
    ports:
      - target: 5432
        published: "5442"
        protocol: tcp
    restart: unless-stopped
    volumes:
      - /DATA/AppData/pelican/panel/postgres/data:/var/lib/postgresql/data:rw
    devices: []
    cap_add: []
    networks:
      - pelican-network
    privileged: false
  redis:
    cpu_shares: 90
    command:
      - redis-server
      - --appendonly
      - yes
    container_name: pelican-redis
    deploy:
      resources:
        limits:
          memory: 15969M
    healthcheck:
      test:
        - CMD
        - redis-cli
        - -h
        - 127.0.0.1
        - -p
        - "6379"
        - PING
      timeout: 5s
      interval: 10s
      retries: 5
    image: redis
    labels:
      icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRke_c3xpskfU53W64PJHy2QfXZweO_Fj3YmQ&s
    ports:
      - target: 6379
        published: "6389"
        protocol: tcp
    restart: unless-stopped
    volumes:
      - /DATA/AppData/pelican/panel/redis/data:/data:rw
    devices: []
    cap_add: []
    environment: []
    networks:
      - pelican-network
    privileged: false
networks:
  pelican-network:
    name: pelican-panel_pelican-network
    driver: bridge
x-casaos:
  author: SkyTehnol
  category: ""
  hostname: "pelican-home.sky-tehnol.uk"
  icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRke_c3xpskfU53W64PJHy2QfXZweO_Fj3YmQ&s
  index: /
  is_uncontrolled: false
  port_map: "443"
  scheme: https
  store_app_id: pelican-panel
  title:
    custom: Pelican-Panel

Install cloudflared and create tunnel from localhost:89 to https domain -> open page via https domain

Panel Version

main

Wings Version

1.0.0-beta16

Games and/or Eggs Affected

No response

Docker Image

ghcr.io/pelican-dev/panel:main

Error Logs


Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Originally created by @LastSkywalkerER on GitHub (Aug 31, 2025). ### Current Behavior When opening a page through a cloudflare tunnel with https, most routes still try to be requested with http, displaying this in the console `support.js?v=3.3.36.0:1 Mixed Content: The page at 'https://.../admin/nodes/1/edit?tab=--tab' was loaded over HTTPS, but requested an insecure script 'http://.../js/filament/widgets/components/chart.js?v=3.3.36.0'. This request has been blocked; the content must be served over HTTPS.` when opening a page by IP via http everything works fine .env has correct APP_URL="https://..." ### Expected Behavior pages under http and https work equally correctly ### Steps to Reproduce Run this docker-compose.yml ``` name: pelican-panel services: panel: cpu_shares: 90 command: [] container_name: pelican-panel depends_on: postgres: condition: service_healthy required: true redis: condition: service_healthy required: true deploy: resources: limits: memory: 7751M environment: - ADMIN_EMAIL=maxdr1998@gmail.com - APP_URL=:89 - DB_CONNECTION=pgsql - DB_DATABASE=panel - DB_HOST=postgres - DB_PASSWORD=r2Utg!7fV@e5sH#pKx9z - DB_PORT=5432 - DB_USERNAME=pelican - REDIS_HOST=redis - REDIS_PORT=6379 - XDG_DATA_HOME=/pelican-data extra_hosts: - host.docker.internal:host-gateway healthcheck: test: - CMD - curl - -f - http://127.0.0.1:89 timeout: 10s interval: 30s retries: 5 image: ghcr.io/pelican-dev/panel:main labels: icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRke_c3xpkfU53W64PJHy2QfXZweO_Fj3YmQ&s ports: - target: 89 published: "89" protocol: tcp privileged: true restart: unless-stopped volumes: - /DATA/AppData/pelican/panel/data:/pelican-data:rw # - /DATA/AppData/pelican/panel/Caddyfile:/etc/caddy/Caddyfile:ro devices: [] cap_add: [] networks: - pelican-network postgres: cpu_shares: 90 command: [] container_name: pelican-postgres deploy: resources: limits: memory: 15969M environment: - POSTGRES_DB=panel - POSTGRES_PASSWORD=r2Utg!7fV@e5sH#pKx9z - POSTGRES_PORT=5432 - POSTGRES_USER=pelican healthcheck: test: - CMD-SHELL - pg_isready -U pelican -d panel -p 5432 timeout: 5s interval: 10s retries: 5 image: postgres labels: icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRke_c3xpskfU53W64PJHy2QfXZweO_Fj3YmQ&s ports: - target: 5432 published: "5442" protocol: tcp restart: unless-stopped volumes: - /DATA/AppData/pelican/panel/postgres/data:/var/lib/postgresql/data:rw devices: [] cap_add: [] networks: - pelican-network privileged: false redis: cpu_shares: 90 command: - redis-server - --appendonly - yes container_name: pelican-redis deploy: resources: limits: memory: 15969M healthcheck: test: - CMD - redis-cli - -h - 127.0.0.1 - -p - "6379" - PING timeout: 5s interval: 10s retries: 5 image: redis labels: icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRke_c3xpskfU53W64PJHy2QfXZweO_Fj3YmQ&s ports: - target: 6379 published: "6389" protocol: tcp restart: unless-stopped volumes: - /DATA/AppData/pelican/panel/redis/data:/data:rw devices: [] cap_add: [] environment: [] networks: - pelican-network privileged: false networks: pelican-network: name: pelican-panel_pelican-network driver: bridge x-casaos: author: SkyTehnol category: "" hostname: "pelican-home.sky-tehnol.uk" icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRke_c3xpskfU53W64PJHy2QfXZweO_Fj3YmQ&s index: / is_uncontrolled: false port_map: "443" scheme: https store_app_id: pelican-panel title: custom: Pelican-Panel ``` Install cloudflared and create tunnel from localhost:89 to https domain -> open page via https domain ### Panel Version main ### Wings Version 1.0.0-beta16 ### Games and/or Eggs Affected _No response_ ### Docker Image ghcr.io/pelican-dev/panel:main ### Error Logs ```bash ``` ### Is there an existing issue for this? - [x] I have searched the existing issues before opening this issue. - [x] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server. - [x] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Author
Owner

@rmartinoscar commented on GitHub (Aug 31, 2025):

Hey Github issues are for reporting known reproducible bugs for troubleshooting please join our Discord

@rmartinoscar commented on GitHub (Aug 31, 2025): Hey Github issues are for reporting known reproducible bugs for troubleshooting please join our [Discord](https://pelican.dev/discord)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#414