1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

Use iiab_hostname and iiab_domain in app.ini

Delete gitea_full_url as unused

Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
This commit is contained in:
Aidan Fitzgerald 2019-03-13 14:02:59 -04:00
parent 2bb46f5884
commit 8d2af9e54a
3 changed files with 1 additions and 5 deletions

View file

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

View file

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

View file

@ -118,7 +118,7 @@ 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 = box DOMAIN = {{ iiab_hostname }}.{{ iiab_domain }}
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)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