@samara
To redirect Solr HTTP to HTTPS, you can set up a reverse proxy server with Apache or Nginx. Here's how you can do it with Apache:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<VirtualHost *:80>
ServerName yourdomain.com
Redirect permanent / https://yourdomain.com/
</VirtualHost>
<VirtualHost *:443>
ServerName yourdomain.com
SSLEngine On
SSLCertificateFile /path/to/ssl/certificate.crt
SSLCertificateKeyFile /path/to/ssl/private.key
ProxyRequests Off
ProxyPass / http://localhost:8983/
ProxyPassReverse / http://localhost:8983/
</VirtualHost>
|
This setup will redirect all HTTP requests to Solr to HTTPS. Make sure to replace yourdomain.com with your actual domain name and adjust the SSL certificate paths accordingly.