royi123

1.配置/data/defaults.properties

server.httpBindInterface= 此处什么都不要填空着就好。

# Specify the interface for Jetty to bind the standard connector.
# You may specify an ip or an empty value to bind to all interfaces.
# Specifying localhost will result in Gitblit ONLY listening to requests to
# localhost.

2.服务器防火墙端口配置

 这个可以不用设置

3.安全组规则配置

   进入实例->操作中的规则配置->将你在gitblit中配置的端口入口和出口都添加一下就可以了

 

分类:

技术点:

相关文章: