Skip to content

Commit

Permalink
Added X forwarded
Browse files Browse the repository at this point in the history
  • Loading branch information
Guhan-SenSam committed Mar 2, 2024
1 parent 8322e96 commit 37ab3de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions horilla/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
"*"
]

USE_X_FORWARDED_HOST = True


# Application definition

Expand Down Expand Up @@ -189,9 +191,9 @@


CSRF_TRUSTED_ORIGINS = [
'http://localhost:8000',
'http://emp.oxlac.com',
"https://emp.oxlac.com",
"http://emp.oxlac.com",
'http://localhost:8000',
"http://13.235.248.150:8000/",
"https://13.235.248.150:8000/",

Expand Down

0 comments on commit 37ab3de

Please sign in to comment.