When click on “manage jenkins” it throws an error that says “It appears that your reverse proxy set up is broken.”
under “system config”, Jenkins URL is http://jenkins:8080
Jenkins version is [2.375.3] - running on kubernetes, installed using helm chart https://charts.jenkins.io
This message can also appear if you don’t access Jenkins through a reverse proxy: Make sure the Jenkins URL configured in the System Configuration matches the URL you’re using to access Jenkins.
It also provides background information and hints for further diagnosis.
I have set the Jenkins URL to my DNS URL. But it resets back to jenkins:8080 after restart. And then reverse proxy error appear again.
That probably means that you are using configuration as code and need to place the definition of the Jenkins URL into the configuration file.
disabled the configuration-as-code plugin and it solved the problem. thank you.
Usually it is better to retain configuration as code and add the Jenkins URL to the configuration as code definition.