Monviech / os-caddy-plugin

Caddy Plugin with GUI for OPNsense
Other
38 stars 0 forks source link

Support for custom headers #127

Closed Moe1369 closed 5 months ago

Moe1369 commented 5 months ago

In my case I'd like to use this in combination with authentik.

More Infos here: https://docs.goauthentik.io/docs/providers/proxy/server_caddy

I know I could make it work with custom configs but is there a gui way I'm not seeing?

Monviech commented 5 months ago

Could you give me an example Caddyfile of your configuration and which part you need exactly? If its the whole forward_auth and copy_headers part, thats not possible in the GUI right now.

Moe1369 commented 5 months ago

Sadly it is. But thanks for confirming.

Monviech commented 5 months ago

The scope of this plugin is more of an "Easy to configure" reverse proxy. Adding too many things would make the GUI of it more convoluted right now. For the full feature richness there are alternatives like haproxy and nginx plugin. They offer very thorough configuration of many cases like these (probably), but they're very hard to configure for "the normal user who wants things to just work". (like me xD)

Hope I could help you. ^^

Moe1369 commented 5 months ago

The scope of this plugin is more of an "Easy to configure" reverse proxy. Adding too many things would make the GUI of it more convoluted right now. For the full feature richness there are alternatives like haproxy and nginx plugin. They offer very thorough configuration of many cases like these (probably), but they're very hard to configure for "the normal user who wants things to just work". (like me xD)

Hope I could help you. ^^

That's why I closed the issue. ^^

Monviech commented 5 months ago

Oh okay. I just wanted to explain myself. Thanks for raising this issue though, its interesting to see what people want. If it happens more often it can always be considered. Or somebody contributes it. :)

Monviech commented 4 months ago

@Moe1369 https://github.com/opnsense/plugins/issues/3881