How to serve Jenkins with Caddy

0 votes

I’m trying to serve Jenkins with caddy. I went through a few examples and created this caddyfile.

jenkins.example.com {
    proxy / http://localhost:8080
}

Jenkins opened on port 8080, went to Jenkins settings and set its URL.

Jenkins complains that the reverse proxy setup is broken.

What am I supposed to do?

Aug 8, 2018 in Jenkins by Hannah
• 18,520 points

edited Aug 8, 2018 by Hannah 1,534 views

1 answer to this question.

0 votes

Using the transparent preset fixes this:

jenkins.example.com {
    proxy / http://localhost:8080 {
        transparent
        max_fails 0
    }
}
answered Aug 8, 2018 by Kalgi
• 52,350 points

Related Questions In Jenkins

+2 votes
4 answers
0 votes
1 answer

How to run selenium script with TestNG on Jenkins?

You can build this project in Jenkins ...READ MORE

answered Jun 19, 2019 in Jenkins by Neel
• 3,020 points
4,074 views
0 votes
1 answer
0 votes
1 answer

How to integrate bitbucket with Jenkins ?

You need to use the Bitbucket plugin ...READ MORE

answered Feb 11, 2020 in Jenkins by anonymous
• 59,230 points
1,304 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,035 views
+2 votes
1 answer
0 votes
3 answers

How can I make Jenkins CI with Git trigger on pushes to master?

To automatically run build on code commit, follow ...READ MORE

answered Aug 7, 2019 in Jenkins by Sirajul
• 59,230 points
4,969 views
0 votes
2 answers

How to connect Bitbucket to Jenkins properly

In order to build your repo after ...READ MORE

answered Aug 8, 2019 in Jenkins by Sirajul
• 59,230 points
2,600 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP