Jenkins behind SSL, my case not going through
I used to use these statemets to put Jenkins behind reverse proxy for TLS in previous previous job. But somehow these are't working anymore.
I referred to all the Jenkins proxy guides on here and and Jenkisn website, but no luck. They all seem to have variations of what I already have/know down in conf files.
I used to able to get through without using a2enmod.
These are what I used to add on httpd.conf and ssl.conf.
ProxyPass / http://localhost:8080 / nocanon
ProxyPassReverse / http://localhost:8080/
Allow from all
ProxyPass / https://localhost:8080
ProxyPassReverse / https://localhost:8080
No matter what I do around syntax, I'm suffering from
httpd: AH00526: Syntax error on line 100 of /etc/httpd/conf/httpd.conf:
httpd: ProxyPass|ProxyPassMatch needs a path when not defined in a location
httpd: Invalid ProxyPass|ProxyPassMatch parameter. Parameter must be in t...lue'.
Am I putting the correct statements?
Seems like I'm not even puting it behind 80 to be able to forward to 443. 443 is currently configured with CA signed keys and the test page is secured.
Help appreciated, thanks.