Remove torii redirect dispatching (#309)

* Remove torii redirect dispatching

* Add Caddy dev config
This commit is contained in:
Claire Lovisa
2023-07-31 10:44:09 +02:00
committed by GitHub
parent 245786a94a
commit 33740d1749
2 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
{$SITE_ADDRESS}:443 {
reverse_proxy identifier:80
tls internal
}

View File

@@ -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