mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1554 from aidan-fitz/gitea-set-domain
Gitea: configure clone URLs
This commit is contained in:
commit
23286e14b3
3 changed files with 3 additions and 7 deletions
|
@ -8,7 +8,7 @@
|
|||
# https://git.coolaj86.com/coolaj86/gitea-installer.sh
|
||||
|
||||
# Information needed to install Gitea
|
||||
gitea_version: "1.7.3"
|
||||
gitea_version: "1.7.4"
|
||||
iset_suffixes:
|
||||
i386: "386"
|
||||
x86_64: "amd64"
|
||||
|
@ -42,8 +42,6 @@ gitea_home: "/home/{{ gitea_user }}" # SSH credentials stored here
|
|||
gitea_run_directory: "{{ gitea_root_directory }}"
|
||||
|
||||
gitea_url: /gitea
|
||||
gitea_full_url: "http://{{ iiab_hostname }}.{{ iiab_domain }}{{ gitea_url }}"
|
||||
|
||||
gitea_port: 61734 # leet for GITEA
|
||||
|
||||
# Data locations
|
||||
|
|
|
@ -184,7 +184,5 @@
|
|||
value: "{{ gitea_run_directory }}"
|
||||
- option: gitea_url
|
||||
value: "{{ gitea_url }}"
|
||||
- option: gitea_full_url
|
||||
value: "{{ gitea_full_url }}"
|
||||
- option: gitea_enabled
|
||||
value: "{{ gitea_enabled }}"
|
||||
|
|
|
@ -118,8 +118,8 @@ FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
|
|||
[server]
|
||||
; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'.
|
||||
PROTOCOL = http
|
||||
DOMAIN = localhost
|
||||
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s{{ gitea_url }}/
|
||||
DOMAIN = {{ iiab_hostname }}.{{ iiab_domain }}
|
||||
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s{{ gitea_url }}/
|
||||
; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket.
|
||||
HTTP_ADDR = 0.0.0.0
|
||||
HTTP_PORT = {{ gitea_port }}
|
||||
|
|
Loading…
Add table
Reference in a new issue