ddev / ddev-solr

Solr service for DDEV
Apache License 2.0
5 stars 5 forks source link

feat: enable HTTPS support, fixes #27 #39

Closed stasadev closed 4 months ago

stasadev commented 4 months ago

The Issue

How This PR Solves The Issue

Enables X-Forwarded- headers in the Solr webserver (Jetty), making HTTP and HTTPS work.

I found the answer here https://serverfault.com/questions/618172/https-reverse-proxy-on-http-jetty

Manual Testing Instructions

mkdir solr-test && cd solr-test
ddev config --auto
git clone https://github.com/ddev/ddev-solr
cd ddev-solr && git checkout 20240604_stasadev_solr_enable_https && cd ..
ddev get ddev-solr
ddev start

# And finally test HTTP and HTTPS

# should open HTTP
ddev launch :8983

# should open HTTPS
ddev launch :8943

Automated Testing Overview

Related Issue Link(s)

Release/Deployment Notes