-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Description
Problem
ownCloud currently performs internal HTTP(S) requests to validate security headers (e.g., X-Frame-Options, X-Content-Type-Options). In reverse-proxy-only SSL setups — where HTTPS is terminated at the proxy and the backend serves plain HTTP — these internal checks fail, even when headers are correctly injected and externally visible.
Expected Behavior
ownCloud should support deployments where:
- SSL is terminated at a reverse proxy
- The backend (e.g., Apache) serves HTTP only
- All required headers are injected at the proxy or backend
- External clients and curl confirm header presence
Actual Behavior
ownCloud reports missing headers in the admin UI, despite:
- Headers being present on
/status.phpand/index.php - Verified via curl and browser
overwrite.cli.url,overwritehost, andoverwriteprotocolsettrusted_proxiesandforwarded_for_headersconfigured
Suggested Solution
- Allow disabling internal header validation via config.php
- Or, allow specifying a custom internal endpoint for header checks
- Or, detect and trust headers from
overwriteprotocolandtrusted_proxiescontext
Environment
- ownCloud version: 10.15.3.0
- Reverse proxy: CloudPanel-managed Nginx
- Backend: Apache (HTTP only)
- OS: Ubuntu 22.04
Metadata
Metadata
Assignees
Labels
No labels