set bind protocol dynamically
This commit is contained in:
parent
64b42a6c8f
commit
723ac4511e
|
@ -65,7 +65,7 @@ ENABLE_HARD_LINE_BREAK = false
|
|||
FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
|
||||
|
||||
[server]
|
||||
PROTOCOL = {{ gitea_bind_protocol }}
|
||||
PROTOCOL = {{ 'https' if gitea_tls_enabled else 'http' }}
|
||||
DOMAIN = {{ gitea_listen_address }}
|
||||
ROOT_URL = {{ gitea_listen_protocol }}://%(DOMAIN)s/
|
||||
HTTP_ADDR = {{ gitea_bind_ip }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user