Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

104
Visualizações
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 Respostas
Responde à pergunta

0

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

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda