diff --git a/config/Caddyfile b/config/Caddyfile index ff4d683..c9d8415 100644 --- a/config/Caddyfile +++ b/config/Caddyfile @@ -126,8 +126,18 @@ @shlink host l.housh.dev handle @shlink { - reverse_proxy http://roguemini.housh.dev:8881 - crowdsec + + # Shlink public proxy. + @api path /rest /rest/* + handle @api { + reverse_proxy http://roguemini.housh.dev:8880 + crowdsec + } + + handle { + reverse_proxy http://roguemini.housh.dev:8881 + crowdsec + } } }