This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-role-warehost/warehost-api/templates/caddy.conf

9 lines
214 B
Plaintext

http://{{warehost_api_domain}} {
redir https://{{warehost_api_domain}}{uri}
}
https://{{warehost_api_domain}} {
tls {{caddy_ssl_mail}}
gzip
proxy / {{warehost_api_internal_ip}}:{{warehost_api_internal_port}}
}