A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
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.