Jenkins changes in /etc/default/jenkins not working
systemctl cat jenkins
to see the options and systemctl edit jenkins
to modify it..
you can change the port.
[Service]
Environment="JENKINS_PORT=8081"
updated java memory and java args Environment="JENKINS_OPTS="
Environment="JENKINS_OPTS=-Xmx2048m"
參考網址:
https://stackoverflow.com/questions/71494231/jenkins-changes-in-etc-default-jenkins-not-working
設定Jenkins with SSL Using an Nginx Reverse Proxy on Ubuntu 22.04
---以下範例:https://dominname/jenkins---
[Service] Environment="JENKINS_PREFIX=/jenkins"
https://www.digitalocean.com/community/tutorials/how-to-configure-jenkins-with-ssl-using-an-nginx-reverse-proxy-on-ubuntu-22-04
留言
張貼留言