Created
July 9, 2023 16:32
-
-
Save BoredHackerBlog/dba67cf7e1da36da9684e0ae81954aa3 to your computer and use it in GitHub Desktop.
Graylog with Caddy reverse proxy and anonymous login
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:80 { | |
reverse_proxy :9000 { | |
header_up +Remote-User "anonymous" | |
} | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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