roles/caddy: added gitea config
This commit is contained in:
parent
e8f762a4cb
commit
9b749316ff
@ -5,3 +5,5 @@
|
||||
|
||||
# web root directory
|
||||
website_path: /srv/http
|
||||
|
||||
gitea_domain: "git.{{ domain }}"
|
||||
|
@ -4,3 +4,9 @@ www.{{ domain }} {
|
||||
file_server
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
{% if groups["gitea"] %}
|
||||
{{ gitea_domain }} {
|
||||
reverse_proxy {{ groups["gitea"][0] }}:3000
|
||||
}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user