3e68297016
I'm currently hosting the Project Fika Docker on a dedicated Server to have the Server up 24/7 without the need to let my PC run. When hosting this as a docker container behind traefik (reverse proxy), the logger currently logs the internal IP of the traefik container. This change makes it so that the headers that traefik/nginx can set are actually read and used. If these headers are not present, we fall back to the original method of using the `socket.remoteAdress`. Since this is for logging only, the security implications are minimal. Co-authored-by: Vincent Niehues <vincent.niehues@zeitag.ch> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/329 Co-authored-by: vniehues <vniehues@noreply.dev.sp-tarkov.com> Co-committed-by: vniehues <vniehues@noreply.dev.sp-tarkov.com> |
||
---|---|---|
.. | ||
.vscode | ||
assets | ||
src | ||
tests | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.nvmrc | ||
.swcrc | ||
docker-compose.yml | ||
Dockerfile | ||
Dockerfile.docs | ||
Dockerfile.pnpm | ||
gulpfile.mjs | ||
package.json | ||
pkgconfig.json | ||
Server.code-workspace | ||
tsconfig.base.json | ||
tsconfig.json | ||
tsconfig.typedef.json | ||
typedoc.json | ||
vitest.config.ts |