Skip to content

Mixed Content Warnings behind reverse proxy #6041

@PatDyn

Description

@PatDyn

Describe the Bug

I'm getting mixed content warnings when calling https://my.bookstack.instance.
It seems content is served under http://my.bookstack.instance although the APP_URL is set to https://my.bookstack.instance.

I recently updated the APP_URL following this: https://www.bookstackapp.com/docs/admin/commands/#update-system-url and doing php artisan cache:clear.

I'm currently out of options trying anything else - that's why I think there might be a bug.

I set up bookstack using docker compose behind an nginx reverse proxy.
The reverse proxy terminates SSL and forwards requests to my docker compose service.

Steps to Reproduce

  1. Set up a reverse proxy with SSL on a VPS
  2. Set up a docker compose service using bookstack
  3. Visit the site

Expected Behaviour

Files are served through https://... instead of http://... with APP_URL set to https://...

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v25.12.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions