Thanks a lot your reply helped me a lot 

I had to update nginx to have these settings 

      # Required for new HTTP-based CLI
     proxy_http_version 1.1;
     proxy_request_buffering off;
     # workaround for https://issues.jenkins-ci.org/browse/JENKINS-45651 
<https://wiki.jenkins.io/display/JENKINS/issues.jenkins-ci.org/browse/JENKINS-45651>
     add_header 'X-SSH-Endpoint' 'jenkins.domain.tld:50022' always;

I found at 
: https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy 

On Wednesday, October 4, 2017 at 5:00:26 AM UTC-7, Daniel Beck wrote:
>
>
> > On 4. Oct 2017, at 13:50, Riccardo Foschia <[email protected] 
> <javascript:>> wrote: 
> > 
> > after an upgrade of Jenkins 1.638 to 2.81 CLI I need to switch to http 
> protocol but it doesn't work (SSH protocol seems to work after the 
> upgrade). 
> > 
> > No matter which CLI command I use, after a few seconds the call returns 
> but shows no result. E.g. 
> > 
>
> If Jenkins is running behind a reverse proxy, make sure the settings are 
> correct. 
>
> For example for nginx, 
>
>         proxy_http_version 1.1; 
>         proxy_request_buffering off; 
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5e4dd08a-a9fa-4ccc-8f5d-333170478cde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to