Added apache config for munin and gitea; removed nginx config from gitea
This commit is contained in:
@@ -16,6 +16,20 @@ 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
|
||||
documentroot: /var/www/html
|
||||
extra_parameters: |
|
||||
ProxyPreserveHost On
|
||||
ProxyPass / http://127.0.0.1:3000/
|
||||
ProxyPassReverse / http://127.0.0.1:3000/
|
||||
|
||||
# Nginx reverse proxy config
|
||||
nginx_worker_processes: "{{ ansible_processor_vcpus|default(ansible_processor_count) }}"
|
||||
nginx_worker_connections: '1024'
|
||||
|
||||
Reference in New Issue
Block a user