cmd: CMD option for port number of gogs web
to prevent first time run conflict
- routers: use new binding convention to simplify code - templates: able to set HTTP port number in install page
This commit is contained in:
parent
3d9cda2d98
commit
b293b6eaa6
10 changed files with 133 additions and 122 deletions
|
@ -1,3 +1,6 @@
|
|||
# NEVER EVER MODIFY THIS FILE
|
||||
# PLEASE MAKE CHANGES ON CORRESPONDING CUSTOM CONFIG FILE
|
||||
|
||||
; App name that shows on every page title
|
||||
APP_NAME = Gogs: Go Git Service
|
||||
; Change it if you run locally
|
||||
|
|
|
@ -59,6 +59,8 @@ run_user = Run User
|
|||
run_user_helper = The user must have access to Repository Root Path and run Gogs.
|
||||
domain = Domain
|
||||
domain_helper = This affects SSH clone URLs.
|
||||
http_port = HTTP Port
|
||||
http_port_helper = Port number which application will listen on.
|
||||
app_url = Application URL
|
||||
app_url_helper = This affects HTTP/HTTPS clone URL and somewhere in e-mail.
|
||||
email_title = E-mail Service Settings (Optional)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue