mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:42:58 +03:00
🐛 Bug Report: Caddy, caddy-security and Pocket-ID not working? #342
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @web-josh on GitHub.
Reproduction steps
Hey guys,
I tried to protect a docker service pointed to a subdomain with pocket-id, caddy reverse proxy and the caddy-security plugin(caddy add-package github.com/greenpau/caddy-security).
Sadly this doesn't seem to work. I know from reddit that there are a couple of open threads that also struggle with this.
The plugin is installed, pocket-id runs correct (and is working for other services already) this is the Caddyfile:
This gives me the following error:
docker logs caddy-caddy-1
{"level":"info","ts":1739791363.5531156,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
Error: adapting config using caddyfile: parsing caddyfile tokens for 'order': authenticate is not a registered directive, at /etc/caddy/Caddyfile:7
I'm thankful for every help!
Expected behavior
Subdomain should be protected by pocket-id
Actual Behavior
Caddy reverse proxy throws error
Version and Environment
v 0.33
All in Docker compose environments
Log Output
No response