33 lines
805 B
YAML
33 lines
805 B
YAML
---
|
|
|
|
gitea_fqdn: git.metaunix.net
|
|
gitea_http_port: 3000
|
|
gitea_data_dir: /var/lib/gitea
|
|
|
|
# use the default SSH server for git operations, not Gitea's built-in one
|
|
gitea_ssh_port: 22
|
|
gitea_user: git
|
|
gitea_start_ssh: False
|
|
|
|
gitea_disable_registration: True
|
|
gitea_show_registration_button: False
|
|
gitea_require_signin: False
|
|
|
|
gitea_enable_push_create_org: True
|
|
gitea_enable_push_create_user: True
|
|
|
|
# Apache reverse proxy config
|
|
apache_mods_enabled_gitea:
|
|
- proxy
|
|
- proxy_http
|
|
- rewrite
|
|
- headers
|
|
apache_vhosts_gitea:
|
|
- servername: git.metaunix.net
|
|
serveralias: git.int.metaunix.net gitea.int.metaunix.net {{ ansible_fqdn }}
|
|
documentroot: /var/www/html
|
|
extra_parameters: |
|
|
ProxyPreserveHost On
|
|
ProxyPass / http://127.0.0.1:3000/
|
|
ProxyPassReverse / http://127.0.0.1:3000/
|