From 93c7dd0a760f52d0f4a485410c2fe35743520fc5 Mon Sep 17 00:00:00 2001 From: "york@stsci.edu" Date: Mon, 25 Nov 2024 18:45:00 -0500 Subject: [PATCH] Trying adding a forwarded header to solara --- jwql/website/jwql_proj/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jwql/website/jwql_proj/urls.py b/jwql/website/jwql_proj/urls.py index 2e644fbbd..50bd60a11 100644 --- a/jwql/website/jwql_proj/urls.py +++ b/jwql/website/jwql_proj/urls.py @@ -65,5 +65,5 @@ urlpatterns = [ path('', include('jwql.website.apps.jwql.urls')), path('admin/', admin.site.urls), - re_path(r'quickview(?P.*)', ProxyView.as_view(upstream=f'http://{jdaviz_host}:{jdaviz_port}')) + re_path(r'quickview(?P.*)', ProxyView.as_view(upstream=f'http://{jdaviz_host}:{jdaviz_port}', add_x_forwarded=True)) ]