diff --git a/web/entrypoint.sh b/web/entrypoint.sh index d4d84145a4..5f52b7b5ff 100644 --- a/web/entrypoint.sh +++ b/web/entrypoint.sh @@ -4,8 +4,6 @@ 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