On Fri, Feb 7, 2014 at 4:48 AM, mpapo - Michaël Pailloncy < [email protected]> wrote:
> Hi all, > > We've an issue using CLI with Jenkins behind Nginx . > > Jenkins URL : http://host:8081/ic > Nginx reverse proxy URL : http://nicely-named-host/ic > > Nginx is configured like that : > https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy > > > I didn't use that config for NGINX. Here is my nginx.conf which is much simpler: worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; server { listen 80; # Redirect all port 80 requests to Jenkins on # port 8180 return 301 http://$host:8180/jenkins/$request_uri; } } If you don't mind having something simpler which just does HTTP 301 redirect instead of the reverse proxy config, you can see if that works better for you. -- Craig -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
