🙂

It really works great, but I'm still trying to display the remote host on 
Remote Host in settings, history

my /etc/caddy/Caddyfile

guacamole.domain.local:80 {
        rewrite / /guacamole
        uri strip_prefix /guacamole/*
        reverse_proxy guacamole.domain.local:8080
}

Accessing via tomcat, I have the remote host information, 
http://guacamole.domain.local:8080/guacamole/


-Luciano


________________________________
De: Timo Nisula <[email protected]>
Enviado: quarta-feira, 5 de janeiro de 2022 13:54
Para: [email protected] <[email protected]>
Assunto: RE: Proxy reverse Caddy


I’m also interested using caddy v2. Yesterday I googled little bit and it 
should be really simple, not enough time test…

Doc https://caddyserver.com/docs/v2-upgrade#proxy



Reverse_proxy enables Host headers, X-Forwarded-For and websocket. So 
basically, following should be enough



guacamole.domaain.com {

    rewrite / /guacamole

    reverse_proxy /guacamole guacamole:8080

}

I will test this when I have little more time, perhaps on weekends.



-Timo





From: Luciano Oliveira <[email protected]>
Sent: keskiviikko 5. tammikuuta 2022 18.42
To: [email protected]
Subject: Proxy reverse Caddy



Anyone using Caddy as reverse proxy!?



thks




Reply via email to