[Improvement]: allow the coolify.caddy file to be editable #6582
Replies: 1 comment
-
|
found a solution to the above problem:
cp -a /data/coolify/proxy/caddy/dynamic /data/coolify/proxy/caddy/dynamic_custom
cd /data/coolify/proxy/caddy
touch docker-compose.override.yml
services:
caddy:
volumes:
- '/data/coolify/proxy/caddy/dynamic_custom:/dynamic'
https://coolify.example.com {
# added directives for authentik:
forward_auth http://authentik-server:9000 {
uri /outpost.goauthentik.io/auth/caddy
copy_headers copy_headers X-Authentik-Username X-Authentik-Groups X-Authentik-Entitlements X-Authentik-Email X-Authentik-Name X-Authentik-Uid X-Authentik-Jwt X-Authentik-Meta-Jwks X-Authentik-Meta-Outpost X-Authentik-Meta-Provider X-Authentik-Meta-App X-Authentik-Meta-Version
}
reverse_proxy /outpost.goauthentik.io/* authentik-server:9000 {
header_up Host {http.reverse_proxy.upstream.host}
}
# old config:
handle /app/* {
reverse_proxy coolify-realtime:6001
}
handle /terminal/ws {
reverse_proxy coolify-realtime:6002
}
reverse_proxy coolify:8080
}
caveats: why this works: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hey,
the coolify.caddy file under /data/coolify/proxy/caddy/dynamic is currently not editable. neither through the coolify dashboard nor directly via the file.
this results in certain features not working, for example when you want to put authentik in front of the coolify dashboard.
there are probably other situations when you want to edit that config file as well, so an option to allow edits with a warning and confirmation popup would be very much appreciated.
just to make sure: this issue is not about oauth. i know there's the option to add oauth via authentik to the login screen.
thanks!
Beta Was this translation helpful? Give feedback.
All reactions