I've done a setup where I use nginx on Plesk to proxy to a separate Solr
server. I created a new subscription in Plesk and used a subdomain for it,
which gives me a distinct hostname on the same IP address. This is what my
nginx configuration looks like:

auth_basic  "Solr";
auth_basic_user_file  /var/www/vhosts/solr.example.com/.htpasswd;

location /solr {
proxy_pass          http://1.2.3.4:8983/solr;
proxy_http_version  1.1;

}

location /api {
proxy_pass          http://1.2.3.4:8983/api;
proxy_http_version  1.1;

}

The Let's Encrypt certificate for solr.example.com and http → https
redirect are managed by Plesk.


Thomas

Op ma 3 jun 2024 om 04:46 schreef Lee Daniel <l...@caribbeannewmedia.com>:

> That's exactly what's going on for that specific hostname.
> Plesk is on port 80  and solr is on 8983.
>
> What are my options here?
> Please advise.
>
> I'm gonna learn so much things after this run.. 😂
>
> Thanks,
>
> Lee
>
> On 2024-06-02 20:10, Dmitri Maziuk wrote:
> > On 6/2/24 17:28, Lee Daniel wrote:
> > ...
> >> Please advise?
> >>
> >
> > Run.
> >
> > They sound like you actually have only one hostname and are trying to
> > run both solr and plesk on it. That would indeed be a problem for
> > name-based virtual hosting.
> >
> > Is that what's going on?
> >
> > Dima
> >
>

Reply via email to