Re: NGinx .conf Setup for Solr

2024-06-04 Thread Dmitri Maziuk
On 6/3/24 21:53, Lee Daniel wrote: *## Drupal* The Drupal site is hosted on the same server as Solr. I installed it on the same server. This server host multiple sites, which we plan to use Solr for some of them. One IP multiple sites. You can't have 2 different programs listen to the same

Re: NGinx .conf Setup for Solr

2024-06-04 Thread Thomas Corthals
Hi Lee, Solr was installed on a different server that doesn't run anything else so we can tweak the resources independently of what the web server needs. But I don't see a reason why this workaround wouldn't work with a Solr install on the same server. The subdomain isn't tied to Solr in any

Re: NGinx .conf Setup for Solr

2024-06-03 Thread Lee Daniel
Thanks much for your responses guy. *# Dmitri* *## Another Hostname or IP address* I really just want Solr to be Secure.. I know Basic Auth and RuleBasedAuth is not enough. I think in my situation I may need to alter the hostname. I will ask them how to do this. In the Solr.in.sh, there is

Re: NGinx .conf Setup for Solr

2024-06-03 Thread Thomas Corthals
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

Re: NGinx .conf Setup for Solr

2024-06-02 Thread Dmitri Maziuk
On 6/2/24 21:46, Lee Daniel wrote: 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? Well... that depends on what you want to achieve. Basically virtual hosts are either name-based or ip-based, so you need either

Re: NGinx .conf Setup for Solr

2024-06-02 Thread Lee Daniel
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: ...

Re: NGinx .conf Setup for Solr

2024-06-02 Thread Dmitri Maziuk
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

Re: NGinx .conf Setup for Solr

2024-06-02 Thread Lee Daniel
I was speaking to the host providers about my intention and this was their response. /NGINX serves as a reverse proxy in Plesk. Requests from the client are sent to NGINX then to Apache. Apache then processes these requests through registered handlers where it sends a response to back to

Re: NGinx .conf Setup for Solr

2024-06-02 Thread Lee Daniel
Thanks much, Jim, for your response. Thanks again for the assurance again that I'm heading towards the right direction. I actually had this tab open in Chrome for the past 4 days.. I actually got the idea from this very link.. I see that the author's nginx configuration is very simple compared

Re: NGinx .conf Setup for Solr

2024-06-01 Thread Jim Morgan
This guide is a bit old, but should at least give you an idea of how it fits together. https://curiousprogrammer.dev/blog/setting-up-solr-on-nginx-with-lets-encrypt/| On Sun, Jun 2, 2024 at 11:41 AM Jim Morgan wrote: > Absolutely a valid plan. Nginx as reverse proxy with SSL termination and >

Re: NGinx .conf Setup for Solr

2024-06-01 Thread Jim Morgan
Absolutely a valid plan. Nginx as reverse proxy with SSL termination and certbot is well documented. You might also consider moving the basic Auth into nginx. Or alternatively you can control access by allowing/denying certain IP addresses. On Sun, Jun 2, 2024 at 9:24 AM Lee Daniel wrote: >

NGinx .conf Setup for Solr

2024-06-01 Thread Lee Daniel
Hey Guys, I have been drowning here for the past couple days trying to make Solr servicer more secure. Currently, I have Basic Authentication and RuleBased Authorization set up. We will scale, so I expect more request eventually. The Enabling SSL documentation for Solr 9.5 does not work for