diff --git a/src/k16/kl/api/proxy.clj b/src/k16/kl/api/proxy.clj index faad816..8b58100 100644 --- a/src/k16/kl/api/proxy.clj +++ b/src/k16/kl/api/proxy.clj @@ -7,7 +7,7 @@ (api.fs/from-config-dir "proxy/" (str module-name ".yaml"))) (defn- route->traefik-rule [{:keys [host path-prefix]}] - (cond-> (str "Host(`" host "`)") + (cond-> (str "HostRegexp(`" host "`)") path-prefix (str " && PathPrefix(`" path-prefix "`)"))) (defn- build-routes [module]