fix(nginx): x-forwarded-* headers (#2019)

* fix(nginx): x-forwarded-* headers

* change category / add link to nginx config
This commit is contained in:
Michel Heusschen
2023-03-22 21:46:30 +01:00
committed by GitHub
parent 6da50626e1
commit 792a87e407
4 changed files with 39 additions and 9 deletions

View File

@@ -4,6 +4,8 @@
export PUBLIC_IMMICH_SERVER_URL=$IMMICH_SERVER_URL
export PUBLIC_IMMICH_API_URL_EXTERNAL=$IMMICH_API_URL_EXTERNAL
export PROTOCOL_HEADER=X-Forwarded-Proto
if [ "$(id -u)" -eq 0 ] && [ -n "$PUID" ] && [ -n "$PGID" ]; then
exec setpriv --reuid "$PUID" --regid "$PGID" --clear-groups node /usr/src/app/build/index.js
else