Disable Jenkins UI

Hi all,

I’m using Jenkins in docker.
I have a question about Jenkins UI page. Is there any possibility to disable/block somehow UI page and use only on API calls to execute build etc.? Or even better to redirect API to some port and use that port to communicate with Jenkins. What I’m see know is that Jenkins use the same port (8080) to API and UI.


that is not possible.

The closest you get to a Jenkins without UI is to use the Jenkinsfile Runner to run a single Jenkinsfile.

Maybe there is any way to block/redirect UI requests and stay API unlocked. I’m using linux.

@mwalasz Via using the firewall rules, based on the type of request you can disable/block the UI. I am just guessing it…