Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting $_SERVER['HTTPS'] var #552

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jonas18175
Copy link

I replaced my php-fpm with that project for Laravel and use a NGINX proxy in front of it.
With PHP FPM i had a scheme detection which was set the HTTPS var on FastCGI for forcing Laravel to generate https urls.
After I run that with php-ppm i noticed that the X-Forwarded-Proto is not working, as i looked in the code i saw that this var is not parsed and no HTTPS var is set on $_SERVER array.

So that pull request to fix that.

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.

2 participants