Giter VIP home page Giter VIP logo

jenkins-demo-reverse-proxy's Introduction

The Jenkins wiki page Running Jenkins behind Apache explains how to set up an Apache reverse proxy. This container serves as a demonstration but also lets you interactively test that setup, for example to verify that a plugin you are developing works correctly behind a proxy. (For example, whether Jenkins.getInstance().getRootUrl() is being used properly.)

Usage:

cd jenkinsci/my-plugin
mvn hpi:run &
docker run --rm -p 127.0.0.1:80:80 --network=host jglick/jenkins-demo-reverse-proxy

Then browse http://localhost/jenkins/ to see the result. (You ought to configure Jenkins and specify its URL explicitly; otherwise it guesses at its root URL from each HTTP request.)

If you want to test HTTPS proxying (for example to verify that insecure content is not getting served from a secure page), proxy port 443 instead and browse to https://localhost/jenkins/ to see the result. This uses a self-signed certificate, so you will need to tell your browser to accept it. Again make sure you have configured the Jenkins root URL explicitly.

jenkins-demo-reverse-proxy's People

Contributors

jglick avatar

Stargazers

Vladyslav Sheiko avatar Jason Azze avatar Efim Vl. Dejin avatar

Watchers

James Cloos avatar  avatar

Forkers

stephenc olamy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.