roles/caddy: added gitea config

This commit is contained in:
dogeystamp 2023-08-28 20:34:25 -04:00
parent e8f762a4cb
commit 9b749316ff
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 8 additions and 0 deletions

View File

@ -5,3 +5,5 @@
# web root directory
website_path: /srv/http
gitea_domain: "git.{{ domain }}"

View File

@ -4,3 +4,9 @@ www.{{ domain }} {
file_server
}
{% endif %}
{% if groups["gitea"] %}
{{ gitea_domain }} {
reverse_proxy {{ groups["gitea"][0] }}:3000
}
{% endif %}