Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/bitcryptic-gw/proxy-aware-https-fix/releases/download/v1.4.1/proxy-aware-https-fix.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A lightweight WordPress plugin that enforces HTTPS detection and correct REST API resolution when running behind reverse proxies like Caddy, Nginx, or Traefik.
Features
- Forces
$_SERVER['HTTPS'] = 'on'when a genuineX-Forwarded-Proto: httpsheader is present - Rewrites
home_url()andsite_url()tohttps://when HTTPS has been detected (no longer unconditional) - Ensures Rank Math SEO plugin uses the correct REST API base
- Compatible with Dockerized WordPress stacks and reverse proxy setups
Installation
- Download or clone this repository into your WordPress
wp-content/plugins/directory. - Activate the plugin via the WordPress admin dashboard.
Usage
No configuration required. The plugin auto-detects proxy headers and enforces HTTPS behavior.
Author
BitCryptic
Built by BitCryptic for scalable, proxy-aware WordPress deployments.
License
MIT — see LICENSE for details.
Releases
16 releases. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads