mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix(nginx): x-forwarded-* headers (#2019)
* fix(nginx): x-forwarded-* headers * change category / add link to nginx config
This commit is contained in:
parent
6da50626e1
commit
792a87e407
4 changed files with 39 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue