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
• 16,210 points

edited Aug 8, 2018 by Hannah 84 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
• 41,990 points

Related Questions In Jenkins

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 in Jenkins by Neel
• 3,010 points
107 views
0 votes
1 answer

How to do CI integration with code review tools

Here is an explanation. If you can switch ...READ MORE

answered Mar 26, 2018 in Jenkins by Atul
• 10,240 points
132 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
205 views
0 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 in Jenkins by Sirajul
• 36,220 points
225 views
0 votes
2 answers

How to connect Bitbucket to Jenkins properly

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

answered Aug 8 in Jenkins by Sirajul
• 36,220 points
268 views