harbor/make/photon/prepare/templates/core/app.conf.jinja
DQ d7618a6274 Fix: beego app config port hardcode
the port should be flexible depend on the internal tls

Signed-off-by: DQ <dengq@vmware.com>
2020-07-27 15:35:43 +08:00

11 lines
151 B
Django/Jinja

appname = Harbor
runmode = prod
enablegzip = true
[prod]
{% if internal_tls.enabled %}
httpport = {{8443}}
{% else %}
httpport = {{8080}}
{% endif %}