Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

110
Views
Jenkins and NGINX Timeout

I'm trying to configure a NginX reverse proxy to Jenkins.

It's an AWS Light Sail machine.

Jenkins is running on port 7172 and I can access it using the public IP of the server.

I have already the NginX running in several sub.domains and working fine.

But for some reason, Jenkins is timing out under a reverse proxy. The following is my configuration in /etc/nginx/sites-available with link to /etc/nginx/sites-enable.

server {
    listen 80;
    server_name jenkins.domain.com;

    location / {
      proxy_set_header        Host $host:$server_port;
      proxy_set_header        X-Real-IP $remote_addr;
      proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header        X-Forwarded-Proto $scheme;

      # Fix the "It appears that your reverse proxy set up is broken" error.
      proxy_pass          http://127.0.0.1:7172;
      proxy_read_timeout  90;

      # Required for new HTTP-based CLI
      proxy_http_version 1.1;
      proxy_request_buffering off;
    }
  }

Not sure what else I can do.

Ubuntu 18LTS. Jenkins 2.233 Nginx: nginx -v

In Jenkins I have configured as Jenkins URL the sub domain i want to use (jenkins.domain.com)

Thanks in advance for any help.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Domain name jenkins.domain.com do not works, but changing to jnks.domain.com apperears to work.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!