how to add "header_up X-Scheme https" for a domain

Started by StandDown, January 24, 2025, 07:31:35 PM

Previous topic - Next topic
Hi All,

I am trying to get a sync to a kobolt reader working with calibre web. I have reverse proxy setup with the caddy plugin and the website is working but the sync for ebooks failes. Apperantly I need to add "header_up X-Scheme https"

Caddy

A working caddy configuration for https, using the domain calibre.mydomain.com:

calibre.mydomain.com {
        reverse_proxy localhost:8083 {
             header_up X-Scheme https
        }
}

How do I do that within Opnsense cadddy plugin?


Thanks, that made me understand how it work little bit more. I have done the following:



Is that correct?

Looks fine to me, just compare the result in Diagnostics, you can see the generated Caddyfile there. If the header looks the same after you attached it to the handler, yes.
Hardware:
DEC740