I am running Jenkins server on AWS EC2.
I tried changing Jenkins URL to myaddress:8080/jenkins in Manage Jenkins->Configure System Section.
Also tried editing JENKINS_LISTEN_ADDRESS to 0.0.0.0/jenkins/ and JENKINS_PREFIX to /jenkins in Jenkins.Service File in lib/systemd/system.
But still server is running on myaddress:8080 instead of myaddress:8080/jenkins.
--prefix=$PREFIX
Runs Jenkins to include the $PREFIX at the end of the URL. For example, set
--prefix=/jenkins
to make Jenkins accessible athttp://myServer:8080/jenkins