指示に従いましたが、Jenkins の前に Apache を使用したリバース プロキシが機能しません。Jenkins にプロキシする Apache 仮想ホスト構成をセットアップしました。
Apache 仮想ホスト
<VirtualHost *:8084>
ServerAdmin emil@my_email.com
ProxyRequests Off
ProxyPass /jenkins http://localhost:8084/jenkins
ProxyPassReverse /jenkins http://localhost:8084/jenkins
<Proxy http://localhost:8084/jenkins*>
Order allow,deny
Allow from all
</Proxy>
ProxyPreserveHost on
</VirtualHost>
仮想ホストがアクティブになり、エラーはありません。
ここで /etc/default/jenkins への変更を確認できます。
HTTP_PORT=8084
...
PREFIX=/jenkins
...
JENKINS_ARGS="--httpListenAddress=127.0.0.1 --webroot=/var/cache/jenkins/war --prefix=$PREFIX --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT"
Apache のログとジェンキンを追跡していますが、http://:8084/jenkins にアクセスしようとしても何も表示されず、ページも表示されません。--httpListenAddress=127.0.0.1 なしで Jenkins を起動すると、http://:8084/jenkins を正常に開くことができますが、これは直接 Jenkins にアクセスしているため、Apache を通過しません。
私のリバース プロキシ設定で何が問題になる可能性がありますか? それはかなり標準的です。
ありがとう、
エミール