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
|
# https://git.coolaj86.com/coolaj86/gitea-installer.sh
|
||||||
|
|
||||||
# Information needed to install Gitea
|
# Information needed to install Gitea
|
||||||
gitea_version: "1.7.3"
|
gitea_version: "1.7.4"
|
||||||
iset_suffixes:
|
iset_suffixes:
|
||||||
i386: "386"
|
i386: "386"
|
||||||
x86_64: "amd64"
|
x86_64: "amd64"
|
||||||
|
@ -42,8 +42,6 @@ gitea_home: "/home/{{ gitea_user }}" # SSH credentials stored here
|
||||||
gitea_run_directory: "{{ gitea_root_directory }}"
|
gitea_run_directory: "{{ gitea_root_directory }}"
|
||||||
|
|
||||||
gitea_url: /gitea
|
gitea_url: /gitea
|
||||||
gitea_full_url: "http://{{ iiab_hostname }}.{{ iiab_domain }}{{ gitea_url }}"
|
|
||||||
|
|
||||||
gitea_port: 61734 # leet for GITEA
|
gitea_port: 61734 # leet for GITEA
|
||||||
|
|
||||||
# Data locations
|
# Data locations
|
||||||
|
|
|
@ -184,7 +184,5 @@
|
||||||
value: "{{ gitea_run_directory }}"
|
value: "{{ gitea_run_directory }}"
|
||||||
- option: gitea_url
|
- option: gitea_url
|
||||||
value: "{{ gitea_url }}"
|
value: "{{ gitea_url }}"
|
||||||
- option: gitea_full_url
|
|
||||||
value: "{{ gitea_full_url }}"
|
|
||||||
- option: gitea_enabled
|
- option: gitea_enabled
|
||||||
value: "{{ gitea_enabled }}"
|
value: "{{ gitea_enabled }}"
|
||||||
|
|
|
@ -118,8 +118,8 @@ FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
|
||||||
[server]
|
[server]
|
||||||
; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'.
|
; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'.
|
||||||
PROTOCOL = http
|
PROTOCOL = http
|
||||||
DOMAIN = localhost
|
DOMAIN = {{ iiab_hostname }}.{{ iiab_domain }}
|
||||||
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s{{ gitea_url }}/
|
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.
|
; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket.
|
||||||
HTTP_ADDR = 0.0.0.0
|
HTTP_ADDR = 0.0.0.0
|
||||||
HTTP_PORT = {{ gitea_port }}
|
HTTP_PORT = {{ gitea_port }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue