Skip to content

Commit

Permalink
Add missing TRUSTED_PROXIES
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex authored Mar 12, 2021
1 parent c7ffc9c commit fd81a8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ RUN composer install --no-interaction --no-dev --optimize-autoloader --ignore-pl

FROM php:8.0-alpine

ENV APP_ENV prod
ENV API_TOKEN abcxyz
ENV APP_ENV=prod
ENV API_TOKEN=abcxyz
ENV TRUSTED_PROXIES="127.0.0.1,REMOTE_ADDR"
EXPOSE 8080
WORKDIR /var/www/html

Expand Down

0 comments on commit fd81a8e

Please sign in to comment.