Skip to content

nginx: detect HTTPS reverse proxy and forward the information to PHP#83

Closed
jamesdrake101 wants to merge 1 commit intoben-xo:mainfrom
jamesdrake101:forward_https
Closed

nginx: detect HTTPS reverse proxy and forward the information to PHP#83
jamesdrake101 wants to merge 1 commit intoben-xo:mainfrom
jamesdrake101:forward_https

Conversation

@jamesdrake101
Copy link

@jamesdrake101 jamesdrake101 commented Oct 4, 2024

Nothing was working in my reverse proxy setup, and after banging my head against the desk for a while I figured out that PHP had no way to know it needed to construct URIs which start with https://, but that information wasn't being forwarded all the way down to PHP.

This change fixes it.

@jamesdrake101 jamesdrake101 closed this by deleting the head repository Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant