Skip to content

Commit

Permalink
fix: Added force script name and use_x_forwarded_host system
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Oct 3, 2024
1 parent 2780f15 commit d291d8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions upsonic_on_prem/dash/dash/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@
SESAME_ONE_TIME = True



if os.environ.get("use_one", "false").lower() == "true":
FORCE_SCRIPT_NAME = '/second'
USE_X_FORWARDED_HOST = True


from dash.tracer import provider
from opentelemetry.instrumentation.django import DjangoInstrumentor

Expand Down

0 comments on commit d291d8d

Please sign in to comment.