Skip to content

Commit fd81a8e

Browse files
authored
Add missing TRUSTED_PROXIES
1 parent c7ffc9c commit fd81a8e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ RUN composer install --no-interaction --no-dev --optimize-autoloader --ignore-pl
2626

2727
FROM php:8.0-alpine
2828

29-
ENV APP_ENV prod
30-
ENV API_TOKEN abcxyz
29+
ENV APP_ENV=prod
30+
ENV API_TOKEN=abcxyz
31+
ENV TRUSTED_PROXIES="127.0.0.1,REMOTE_ADDR"
3132
EXPOSE 8080
3233
WORKDIR /var/www/html
3334

0 commit comments

Comments
 (0)