I’m failing at redirecting my Jenkins to use my subdomain (
build.core-network.us) and not require :8080 port slapped behind it.
I’m on Debian Wheezy.
I use Apache (
proxy_http are installed) and this is my
<VirtualHost *:80> ServerName build.core-network.us:80 ServerAlias www.build.core-network.us ServerAdmin firstname.lastname@example.org ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ ProxyRequests Off <Proxy http://localhost:8080/*> Order deny,allow Allow from all </Proxy> </VirtualHost>
I made sure that
--httpListenAddress=127.0.0.1 --httpPort=8080 as
And of course build.core-network.us has correct DNS entry (and it works fine when I add
:8080 port to it).
I found 4 other posts like this with 4 different VirtualHost recommendations and either they’re not for me or I’m failing to use them properly.
Update 1: I found errors in
[Fri Sep 26 17:33:59 2014] [notice] SIGUSR1 received. Doing graceful restart [Fri Sep 26 17:33:59 2014] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations [Fri Sep 26 17:33:59 2014] [error] proxy: ap_get_scoreboard_lb(0) failed in child 11990 for worker proxy:reverse [Fri Sep 26 17:33:59 2014] [error] proxy: ap_get_scoreboard_lb(0) failed in child 11991 for worker proxy:reverse
Update 2: I did
sudo /etc/init.d/apache2 stop and then
start, didn’t help.