When running behind a reverse proxy such as nginx, the remote IP as logged is always that of the proxy. Figuring out the correct address in this context is a little tricky, hence the following module is used: https://github.com/tomasen/realip |
||
|---|---|---|
| .. | ||
| auth.go | ||
| commands.go | ||
| data.go | ||
| http.go | ||
| public.go | ||
| raw.go | ||
| resource.go | ||
| search.go | ||
| settings.go | ||
| share.go | ||
| static.go | ||
| users.go | ||
| utils.go | ||