Weird https page #61
Replies: 8 comments
|
This error is widely documented here. |
|
Thank you, I check again :) |
|
@JulianPrieber they are using HTTPS in the reverse proxy, but are getting "mixed content" errors because linkstack continues to send HTTP files over HTTPS. I am the dev of the reverse proxy they are using, how does linkstack decides what protocol to use? May be the proxy is not sending a header that linkstack expects? |
|
LinkStack doesn't really 'decide' on what protocol to use. It simply responds in whatever protocol it's accessed with. |
|
Ah so you are deciding depending on the inbound request? Isn't that going to cause an issue with every reverse proxy unless you use HTTPS between the reverse proxy and LinkStack, no? Or may be I misunderstood. If that's the case, with your answer I am assuming that this is not the first time you see the issue. I am assuming that you have a reason not to use relative path (which would solve the issue already). So one easy solution is to set the links to start with User -> HTTPS -> Proxy -> HTTP -> LinkStack Then the browser will simply use HTTPS to request the files (and the proxy will translate to HTTP) Something like Doc here: http://www.ietf.org/rfc/rfc3986.txt |
|
That's right. |
|
Note that starting with // are still absolute path, but they will fix your issue for good with mixed contents |
|
Unfortunately, generating relative URLs without including the protocol directly through Laravel's built-in methods may not be a straightforward task in our current system. The application is a fork of an existing project that follows the standard Laravel approach for URL generation. Rewriting the entire application to accommodate relative URLs would require significant effort and resources. Given the scope of the task and the constraints, it may not be feasible to pursue this solution at the moment. However, if someone else is interested in implementing this functionality and can contribute to the project, I would be open to including their work. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I use Linkstack since 1 day and I have an issue with https.
Platform: Debian 11, Linkstack on Docker
http://" which tries to force the links to be HTTP even if the site is sent in HTTPS
Thank you :)
All reactions