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

fix: switch to HTTPS schema early #2439

Merged
merged 3 commits into from
Feb 16, 2019

Conversation

FranPregernik
Copy link

When using nginx as a https termination reverse proxy the assets and
URL in the html were generated as HTTP causing the browser not to
trust them, especially the login form.

This fixes the issue by switching to HTTPS early in the app startup
allowing laravel to generate URLs to have the HTTPS schema.

Issue #835

When using nginx as a https termination reverse proxy the assets and
URL in the html were generated as HTTP causing the browser not to
trust them, especially the login form.

This fixes the issue by switching to HTTPS early in the app startup
allowing laravel to generate URLs to have the HTTPS schema.

Issue monicahq#835
@CLAassistant
Copy link

CLAassistant commented Feb 14, 2019

CLA assistant check
All committers have signed the CLA.

When using nginx as a https termination reverse proxy the assets and
URL in the html were generated as HTTP causing the browser not to
trust them, especially the login form. This fixes the issue by
switching to HTTPS early in the app startup allowing laravel to
generate URLs to have the HTTPS schema.

Issue monicahq#835
@asbiin asbiin changed the title Switch to HTTPS schema early fix: switch to HTTPS schema early Feb 14, 2019
@asbiin asbiin merged commit 111530e into monicahq:master Feb 16, 2019
@asbiin
Copy link
Member

asbiin commented Feb 16, 2019

Thank you @FranPregernik !

@github-actions
Copy link

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants