Skip to content

Commit

Permalink
docs: add self-hosting ui auth tips
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc committed Nov 23, 2023
1 parent 30b98e8 commit b404bab
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/docs.logflare.com/docs/self-hosting/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,16 @@ The directory structure will now be as follows:
|- .env
|- docker-compose.yml
```

## Protecting the User Interface

When self-hosting, it is advised to protect the user interface with minimally basic HTTP authentication. How this is achieved is left to the self-hoster.

When applying such authentication rules, we recommend requiring all routes to be authenticated except for the following paths, as illustrated using glob patterns:

```text
/api/**/*
/logs/**/*
```

the `/logs` path is for legacy reasons and is mostly for compatibility with older Logflare libraries.

0 comments on commit b404bab

Please sign in to comment.