diff --git a/config/dev/tlsproxy/Caddyfile b/config/dev/tlsproxy/Caddyfile new file mode 100644 index 0000000..12323fa --- /dev/null +++ b/config/dev/tlsproxy/Caddyfile @@ -0,0 +1,4 @@ +{$SITE_ADDRESS}:443 { + reverse_proxy identifier:80 + tls internal +} diff --git a/config/dispatcher/dispatcher.ex b/config/dispatcher/dispatcher.ex index 24d7df3..8dcb356 100644 --- a/config/dispatcher/dispatcher.ex +++ b/config/dispatcher/dispatcher.ex @@ -369,10 +369,6 @@ defmodule Dispatcher do # frontend layer ############################################################### - match "/authorization/callback/*_path", %{ accept: [:html], layer: :api } do - Proxy.forward conn, [], "http://frontend/torii/redirect.html" - end - match "/assets/*path", %{ layer: :api } do Proxy.forward conn, path, "http://frontend/assets/" end