Switch to terraform
This commit is contained in:
17
ansible/gitea/migration/templates/Caddyfile.j2
Normal file
17
ansible/gitea/migration/templates/Caddyfile.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
email {{ letsencrypt_email }}
|
||||
}
|
||||
|
||||
# =============================================================================
|
||||
# Primary Domain - Gitea
|
||||
# =============================================================================
|
||||
{{ gitea_domain }} {
|
||||
reverse_proxy gitea:{{ gitea_http_port }}
|
||||
}
|
||||
|
||||
# =============================================================================
|
||||
# Old Domain - Permanent Redirect
|
||||
# =============================================================================
|
||||
{{ gitea_old_domain }} {
|
||||
redir https://{{ gitea_domain }}{uri} permanent
|
||||
}
|
||||
Reference in New Issue
Block a user