Skip to content

Commit

Permalink
Merge pull request #1077 from rommapp/fix/set-gunicorn-forwarded-allo…
Browse files Browse the repository at this point in the history
…w-ips

fix: Set Gunicorn option forwarded-allow-ips
  • Loading branch information
adamantike authored Aug 9, 2024
2 parents 687cffb + 514513d commit 441e15c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/init_scripts/init
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ start_bin_gunicorn() {
--bind=0.0.0.0:5000 \
--bind=unix:/tmp/gunicorn.sock \
--pid=/tmp/gunicorn.pid \
--forwarded-allow-ips="*" \
--workers "${GUNICORN_WORKERS:=2}" \
main:app &
}
Expand Down

0 comments on commit 441e15c

Please sign in to comment.