From 75df1d17095d30ce73120b29d1a72e5dd641e633 Mon Sep 17 00:00:00 2001 From: Bret Mogilefsky Date: Mon, 8 Apr 2024 07:34:01 -0700 Subject: [PATCH] Preserve https when generating redirects --- manifest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/manifest.yml b/manifest.yml index c1acb51a1a..b1d8cc345e 100644 --- a/manifest.yml +++ b/manifest.yml @@ -65,6 +65,7 @@ applications: # Hardcoded FLASK_DEBUG: "0" APPLICATION_ROOT: "/" + SPIFFWORKFLOW_BACKEND_USE_WERKZEUG_MIDDLEWARE_PROXY_FIX: "true" SPIFFWORKFLOW_BACKEND_WSGI_PATH_PREFIX: "/api" SPIFFWORKFLOW_BACKEND_BPMN_SPEC_ABSOLUTE_DIR: "/app/process_models" # spiffworkflow_backend.config.ConfigurationError: SPIFFWORKFLOW_BACKEND_URL_FOR_FRONTEND and SPIFFWORKFLOW_BACKEND_URL are incompatible. We need backend to set cookies for frontend, so they need to be on the same domain. A common setup is to have frontend on example.com and backend on api.example.com. If you do not need this functionality, you can avoid this check by setting environment variable SPIFFWORKFLOW_BACKEND_CHECK_FRONTEND_AND_BACKEND_URL_COMPATIBILITY=false