first
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{# Template: Caddyfile für Ziel-Host #}
|
||||
https://{{ target_hostname }}:{{ target_port }} {
|
||||
tls /etc/caddy/certs/{{ target_hostname }}.crt /etc/caddy/certs/{{ target_hostname }}.key
|
||||
reverse_proxy hugo:1313
|
||||
}
|
||||
{% if target_hostname != 'localhost' %}
|
||||
https://localhost:{{ target_port }} {
|
||||
tls /etc/caddy/certs/localhost.crt /etc/caddy/certs/localhost.key
|
||||
reverse_proxy hugo:1313
|
||||
}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user