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

feat(frankenphp): make HTTP to HTTPS redirection opt-in #814

Merged
merged 3 commits into from Jan 16, 2024

Conversation

dunglas
Copy link
Contributor

@dunglas dunglas commented Jan 15, 2024

While checking #811, I discovered that by default, HTTP to HTTP redirection is enabled, even when using the non-default HTTPS port:

./artisan octane:start --https

This starts an HTTPS server on port 8000, but also an HTTP server on port 80, which will likely be unavailable.

This patch makes the redirection opt-in, and disables it by default:

./artisan octane:start --https --redirect-http

@taylorotwell taylorotwell merged commit 2e73236 into laravel:2.x Jan 16, 2024
12 checks passed
@dunglas dunglas deleted the redirect-to-https branch January 16, 2024 15:53
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.

None yet

2 participants