-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Access Solr admin over HTTPS in DDEV by default #27
Comments
My experience is that it all goes bad with HTTPS enabled, but the right place fof this issue is ddev/ddev-solr, so I'll move it there. |
OK, this isn't true HTTPS between the router and Solr. But it makes sense as simple workaround for Firefox and also your app uses CSP headers to redirect to HTTPS. |
I'll add this after the Solr 9 support is committed. |
The HTTPS_EXPOSE has been problematic in the past because the Solr admin did an odd redirect on some/many browsers. Hopefully that's fixed. But that's why it was removed in previous revisions. |
Using port 443 might cause conflicts with the application if it serves |
If I add @rfay is there any way to append |
Great troubleshooting. DDEV doesn't have a way to know what the default URI should be (it auto-discovers the port). But you might consider a Related: |
@kevinquillen article on a solution, https://kevinquillen.com/access-apache-solr-admin-over-https-ddev @kevinquillen if this can be done reliably, how about a PR? |
@rfay as mentioned above in #27 (comment) the suggestion by @kevinquillen works, but the link in |
@mkalkbrenner @rfay that would be fixed with this change in a future release, right? The output will reflect the host and port overrides. I haven't quite had an issue with https redirect otherwise. |
I got to the root of the problem: |
@mkalkbrenner |
I forgot about the tests, but you still can test HTTPS here: Line 23 in 0398b27
See: |
@kevinquillen does this make your article obsolete? |
I think so. This fixes the https redirect, the other shows customization. The PR I made last month will make the |
And
|
Thanks everyone! It's so great to be able to access Solr over HTTPS. |
I created a follow-up issue #41. |
Is there an existing issue for this?
Is your feature request related to a problem?
In Firefox, you need to disable HTTPS-Only Mode in Firefox to access Solr, since it's using HTTP, which is not ideal.
Describe your solution
It would be great with Solr access over HTTPS as the default, if it's possible.
Describe alternatives
No response
Additional context
Kevin Quillen's blog post Access Apache Solr admin over HTTPS in DDEV.
The text was updated successfully, but these errors were encountered: