I want to put Jenkins behind a reverse proxy (Apache). Then Jenkins trust the caller (the RP) and doesn't manage security itself anymore.
It works only if the only caller of Jenkins IP address wise, is the RP itself.
What's the way of coniguring Jenkins to accept connections only from some IP address and not others.
I see some ways:
- A Jenkins plugin could do that. I haven't found any.
- Jetty can do that. Is it possible to configure it fron the "java -jar " command line?
- Deploy Jenkins in a "real" Tomcat which can then be configured with a valve
What's the best way?