diff --git a/service/urls.py b/service/urls.py index 1a5f68a..5757bab 100644 --- a/service/urls.py +++ b/service/urls.py @@ -27,3 +27,5 @@ urlpatterns = [ re_path(r'^swagger/$', schema_view.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'), # re_path(r'^redoc/$', schema_view.with_ui('redoc', cache_timeout=0), name='schema-redoc'), ] +USE_X_FORWARDED_HOST = True +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') \ No newline at end of file