Skip to content

Commit

Permalink
tidy up gitea app.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesreid1 committed Jul 12, 2019
1 parent 0eff502 commit 15aacdb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions app.ini.j2
Expand Up @@ -23,19 +23,23 @@ ROOT = /data/git/repositories
PREFERRED_LICENSES = MIT License

; This gets rid of the HTTP option to check out repos...
;DISABLE_HTTP_GIT = true
DISABLE_HTTP_GIT = true

[server]
PROTOCOL = http
DOMAIN = {{ gitea_domain }}
#CERT_FILE = /www/gitea/certs/cert.pem
#KEY_FILE = /www/gitea/certs/key.pem
SSH_DOMAIN = git.charlesreid1.blue
SSH_DOMAIN = {{ gitea_domain }}
HTTP_PORT = 3000
HTTP_ADDR = 0.0.0.0
;ROOT_URL = http://git.charlesreid1.blue
;ROOT_URL = https://{{ gitea_domain }}
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
DISABLE_SSH = false
SSH_PORT = 22
; port to display in clone url:
SSH_PORT = 222
; port for built-in ssh server to listen on:
SSH_LISTEN_PORT = 22
OFFLINE_MODE = false

; Upper level of template and static file path
Expand Down

0 comments on commit 15aacdb

Please sign in to comment.