51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

nginx反向代理jenkins服务,实现https域名访问

Nginx反向代理jenkins服务,实现https域名访问 {#articleContentId}

Nginx代理Jenkins-CSDN博客

--env JENKINS_OPTS="--prefix=/jenkins"

如下:

jenkinsstart.sh

#!/bin/bash
docker run -u root -d \
-p 8098:8080 -p 8097:50000 \
-v /root/workspace/jenkins_home/workspace/:/var/jenkins_home/ \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /usr/bin/docker:/usr/bin/docker \
-v /usr/local/java/jdk-17.0.1:/usr/local/java \
-v /usr/local/maven/apache-maven-3.9.6:/usr/local/maven \
-e JAVA_OPTS="-Dorg.apache.commons.jelly.tags.fmt.timeZone='Asia/Shanghai" \
-e JENKINS_OPTS="--prefix=/jenkins" \
--name jenkins jenkins/jenkins:2.415

http://10.0.0.203:8098/jenkins

赞(7)
未经允许不得转载:工具盒子 » nginx反向代理jenkins服务,实现https域名访问