Switch site playbook to use forgejo
This commit is contained in:
parent
648f49a847
commit
9ec5b6dec6
13 changed files with 4 additions and 4 deletions
|
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
"@id": "{{ stack_name }}_ci_upstream",
|
||||
{% if server_domain is not undefined and not none %}
|
||||
"match": [
|
||||
{
|
||||
"host": [
|
||||
{% if subdomain_ci_alias is not undefined and not none %}
|
||||
"{{ subdomain_ci_alias }}.{{ server_domain }}"
|
||||
{% else %}
|
||||
"{{ stack_name }}_ci.{{ server_domain }}"
|
||||
{% endif %}
|
||||
]
|
||||
}
|
||||
],
|
||||
{% else %}
|
||||
"match": [
|
||||
{
|
||||
"path": [
|
||||
{% if subdomain_ci_alias is not undefined and not none %}
|
||||
"/{{ subdomain_ci_alias }}*"
|
||||
{% else %}
|
||||
"/{{ stack_name }}_ci*"
|
||||
{% endif %}
|
||||
]
|
||||
}
|
||||
],
|
||||
{% endif %}
|
||||
"handle": [
|
||||
{
|
||||
"handler": "reverse_proxy",
|
||||
"upstreams": [
|
||||
{
|
||||
"dial": "{{ stack_name }}_wp-server:8000"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue