728x90
반응형
아파치를 사용해서 젠키스로 접속해야 하는 경우 프록시를 사용해야 할 때가 있다.
이때는 아래와 같이 한다.
1. vi /etc/sysconfig/jenkins
마지막줄 수정
JENKINS_ARGS=”–prefix=/jenkins”
2. 아파치 VirtualHost 수정
<Virtualhost *:80>
ServerName jwp.iptime.org
LogLevel debug
ErrorLog ${APACHE_LOG_DIR}/error_vhost_.log
CustomLog ${APACHE_LOG_DIR}/access_vhost.log combined
ProxyRequests Off
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
ProxyPass /jenkins http://192.168.0.192:8888/jenkins
ProxyPassReverse /jenkins http://192.168.0.192:8888/jenkins
<Proxy *.80>
Order deny,allow
Allow from all
</Proxy>
<Location />
Order allow,deny
Allow from all
</Location>
</Virtualhost>
반응형
'IT > 리눅스_서버' 카테고리의 다른 글
리눅스 인증서 패스워드 검사 (0) | 2022.01.26 |
---|---|
젠킨스 타임 스페이스 옮기기 (0) | 2022.01.26 |
svn 실행 명령어 (0) | 2022.01.26 |
ssh 세션 꽉 차서 로그인 안될때 (0) | 2022.01.26 |
리눅스 서버간 폴더 동기화 (0) | 2022.01.26 |