On Thu, Mar 20, 2014 at 11:28 AM, <arthur_her...@homedepot.com> wrote: > If you are on Linux, It's much easier to use iptables instead of standing up > httpd just to proxy. > > > > iptables -t nat -I PREROUTING --src 0.0.0.0/0 --dst 0.0.0.0/0 -p tcp --dport > 80 -j REDIRECT --to-ports 8080 >
But both of those approaches force you to not have any other web services on port 80 at that IP address. I like to push the URL to /jenkins to make it co-exist with other proxied and native apache services. You can do that by adding --prefix=/jenkins --ajp13Port=8010 to the jenkins start up args (which, with the RPM packaged version you can configure as JENKINS_ARGS in /etc/sysconfig/jenkins). And then the Apache config is: LoadModule proxy_ajp_module modules/mod_proxy_ajp.so ProxyPass /jenkins/ ajp://localhost:8010/jenkins/ Putting a dummy /jenkins directory under your default DocumentRoot will take care of the redirect if someone omits the trailing / in the URL. -- Les Mikesell lesmikes...@gmail.com -- 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-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.