proxypass / jenkins到端口8080?

您好我有一个VPS运行cPanel,它也在端口8080上运行Jenkins我已经在Apacheconfiguration中使用proxypassredirectjenkins.rystuff.net到端口8080,但想知道是否有一种方法来redirectrystuff.net/jenkins 8080端口,这样你永远可以到我的jenkins页面这是我用在我的httpd.confredirectjenkins.rystuff.net到端口8080

<VirtualHost 23.227.161.55:80> ServerName jenkins.rystuff.net ServerAlias jenkins.rystuff.net ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ </VirtualHost> 

提前致谢

创build另一个虚拟主机:

 <VirtualHost 23.227.161.55:80> ServerName rystuff.net ProxyPass /jenkins http://localhost:8080/ ProxyPassReverse /jenkins http://localhost:8080/ </VirtualHost> 

如果ServerName与ServerName相同,则不需要ServerAlias