Skip to content

Commit

Permalink
Trying adding a forwarded header to solara
Browse files Browse the repository at this point in the history
  • Loading branch information
york-stsci committed Nov 25, 2024
1 parent a2935ea commit 93c7dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwql/website/jwql_proj/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@
urlpatterns = [
path('', include('jwql.website.apps.jwql.urls')),
path('admin/', admin.site.urls),
re_path(r'quickview(?P<path>.*)', ProxyView.as_view(upstream=f'http://{jdaviz_host}:{jdaviz_port}'))
re_path(r'quickview(?P<path>.*)', ProxyView.as_view(upstream=f'http://{jdaviz_host}:{jdaviz_port}', add_x_forwarded=True))
]

0 comments on commit 93c7dd0

Please sign in to comment.