We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Laravel incorrectly assumes scheme to be http
APP_URL
https://
http://
Expect the http/s scheme to be detected correctly, or have an option to define the scheme.
Your own self-hosted instance (v5 a.k.a chandler version or main branch)
a6bf781
Docker image
Apache
SQlite
No response
The text was updated successfully, but these errors were encountered:
Did you try to set the variable ASSET_URL in .env with the https link ?
Sorry, something went wrong.
Setting that fixed js/css assets but login fails due to the still incorrect url set to the Ziggy config.
Ziggy
<script type="text/javascript"> const Ziggy = {"url":"http:\/\/......,
OK setting up APP_TRUSTED_PROXIES=* in .env should fix it (you can drop the ASSET_URL as it should not be needed anymore). Refer to https://laravel.com/docs/10.x/requests#configuring-trusted-proxies for more information
APP_TRUSTED_PROXIES=*
That worked great, thank you!
No branches or pull requests
Bug description
Laravel incorrectly assumes scheme to be http
Steps to reproduce
APP_URL
env var withhttps://
schemehttp://
...
Expected behavior
Expect the http/s scheme to be detected correctly, or have an option to define the scheme.
Environment
Your own self-hosted instance (v5 a.k.a chandler version or main branch)
Version of Monica
a6bf781
Installation method
Docker image
Web server
Apache
Database engine version
SQlite
Additional info
No response
The text was updated successfully, but these errors were encountered: