[
https://issues.apache.org/jira/browse/SOLR-16200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541157#comment-17541157
]
Shawn Heisey commented on SOLR-16200:
-------------------------------------
With the new information, I was able to reproduce the issue if the URL path is
/ or absent.
I was able to fix the problem in haproxy, by doing a redirect of the root path
before it ever gets to Solr. In the frontend:
{code:java}
acl is_root path -i /
http-request redirect code 301 location https://%[hdr(host)]/solr/ if
is_root{code}
Something similar could be done in other proxy software.
If the URL has been accessed and did the wrong redirect, clearing the browser
cache for that URL will probably be required before a proxy redirect will work.
If we can fix this in our Jetty config, we should.
> cant cancel scheme/protocol redirect when accessing the admin UI
> ----------------------------------------------------------------
>
> Key: SOLR-16200
> URL: https://issues.apache.org/jira/browse/SOLR-16200
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Admin UI
> Affects Versions: 8.11
> Reporter: sam
> Priority: Major
>
> I have solrcloud + zookeeper behind a reverse proxy which is doing https
> termination.
> Problem is when asking for solr's admin UI solr keeps redirecting me to http,
> I considered changing the urlscheme to https but then internal connections
> behind the proxy won't work.
> Is it possible to cancel the scheme/protocol redirect only? I still want to
> be redirected from / to /solr/
> I'm using solr's official docker images with a helm chart deploying to
> openshift.
> basiclly I want [http://my-solr/] to forward to [http://my-solr/solr/]
> and [https://my-solr/] to forward to [https://my-solr/solr/]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]