1
0
Fork 0
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:
A Holt 2019-03-16 18:48:22 -04:00 committed by GitHub
commit 23286e14b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 7 deletions

View file

@ -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

View file

@ -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 }}"

View file

@ -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 }}