Running Jenkins behind Apache FAIL

15 views
Skip to first unread message

han...@inswave.com

unread,
Mar 25, 2019, 12:48:10 PM3/25/19
to Jenkins Users
Hello. eveyone.

I've running two system. 
Sys1 : Apache Web Server running. 
VirtuaHost config is below.
<VirtualHost *:80>

        ServerName ci.testsystem.com
        DocumentRoot /var/www/html

        ErrorLog ${APACHE_LOG_DIR}/ci.error.log
        CustomLog ${APACHE_LOG_DIR}/ci.access.log combined

        ProxyPass       /       http://10.0.1.234:1213/  nocanon
        ProxyPassReverse /      http://10.0.1.234:1213/
        ProxyRequests   Off
        AllowEncodedSlashes NoDecode

        <Directory />
        Options None
        AllowOverride None
        Require all granted
        </Directory>
</VirutalHost>

Sys2 : Jenkins running using java & jar component (Real IP : 10.0.1.234, Mapping NAT IP : 222.11.11.1)
$ ps -ef | grep jenkins
root     16857     1  1 Mar25 ?        00:00:58 java -Dcom.sun.akuma.Daemon=daemonized -jar /opt/jenkins/jenkins.21072.war --httpPort=1213 --daemon --logfile=/opt/jenkins/jenkins.out

Jenkins configure

Test 
- http://222.11.11.1:1213  : OK. Service avaiable.
- http://ci.testsystem.com : FAIL.  Service Unavailable

How do i connect Jenkins sytem using domain???


Joaquin Henriquez

unread,
Mar 25, 2019, 12:54:23 PM3/25/19
to jenkins...@googlegroups.com

Test 

- http://222.11.11.1:1213  : OK. Service avaiable.

- http://ci.testsystem.com : FAIL.  Service Unavailable

 

Did you add it to the DNS (ci.testsystem.com = 222.11.11.1)?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b6699070-9290-47e7-8b94-bf258e203389%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ivan Fernandez Calvo

unread,
Mar 26, 2019, 1:52:29 PM3/26/19
to Jenkins Users
You did not set a prefix in the command line so the real URL uses the default prefix ’jenkins’ so the URL is http://10.0.1.234:1213/jenkins the http://10.0.1.234:1213 should return an error telling you that you have to add the prefix
Reply all
Reply to author
Forward
0 new messages