Skip to content

Instantly share code, notes, and snippets.

@BoredHackerBlog
Created July 9, 2023 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BoredHackerBlog/dba67cf7e1da36da9684e0ae81954aa3 to your computer and use it in GitHub Desktop.
Save BoredHackerBlog/dba67cf7e1da36da9684e0ae81954aa3 to your computer and use it in GitHub Desktop.
Graylog with Caddy reverse proxy and anonymous login
:80 {
reverse_proxy :9000 {
header_up +Remote-User "anonymous"
}
}
Include the following in docker compose file (https://github.com/Graylog2/docker-compose/blob/main/open-core/docker-compose.yml):
GRAYLOG_TRUSTED_PROXIES: "0.0.0.0/0" (modify 0.0.0.0 to a proper ip...)
In graylog, create a user "anonymous" with desired privs
under /system/authentication/authenticator enable trusted header auth with Remote-User.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment