How to configure Jenkins to run on port 80

后端 未结 13 2127
走了就别回头了
走了就别回头了 2020-12-12 21:45

I\'m running Ubuntu 11.10 and have run sudo apt-get install jenkins to install Jenkins on this system.

I\'ve seen some tutorials on how to setup a rever

13条回答
  •  囚心锁ツ
    2020-12-12 22:23

    I'd suggest using apache and mod_proxy. This is what I do, and my vhost config looks kinda like this (I also redirect for SSL but you can omit that):

    
    ServerAdmin webmaster@example.com
    ServerName ci.example.com
    
    ProxyRequests Off
    
        Order deny,allow
        Allow from all
    
    ProxyPreservehost on
    ProxyPass / http://localhost:8080/
    
    Header edit Location ^http://ci.example.com/ https://ci.example.com/
    
    SSLEngine on
    SSLCertificateFile /etc/apache2/keys/apache.pem
    
    

提交回复
热议问题