Skip to content

Commit

Permalink
Add USE_X_FORWARDED_HOST
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosribas committed Jan 9, 2025
1 parent ecf2a21 commit 805fd4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rnacentral/rnacentral/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@
],
}

# Recognize the real IP from X-Forwarded-For
USE_X_FORWARDED_HOST = True

# Use a simplified runner to prevent any modifications to the database.
TEST_RUNNER = "portal.tests.test_runner.FixedRunner"
Expand Down

0 comments on commit 805fd4f

Please sign in to comment.