On Wed, Jan 5, 2022 at 11:54 AM Timo Nisula <[email protected]>
wrote:

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

The only thing I would caution is to make sure that this reverse proxy
allows for disabling buffering. This is called out specifically in the
documentation - for Nginx setting the "proxy_buffering" setting to "off",
and for Apache httpd mod_proxy setting (flushpackets=on). If you fail to do
this there will be odd behavior on the tunnels.

-Nick

>

Reply via email to