From cf9f4d8888b293241cee59025a19f65a9bb8a918 Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Wed, 18 Dec 2024 13:04:54 +0100 Subject: [PATCH] fix reports nginx config to avoid localhost issues fixes https://github.com/galaxyproject/galaxy/issues/15966 by applying patch from @jdwhatsup from https://github.com/jdwhatsup/training-material/commit/c88b7561e36ae8c4c467e0b96d6e41216eed4da5 --- topics/admin/tutorials/reports/tutorial.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/topics/admin/tutorials/reports/tutorial.md b/topics/admin/tutorials/reports/tutorial.md index 006cd7c4e211f4..b18fc63d5040e1 100644 --- a/topics/admin/tutorials/reports/tutorial.md +++ b/topics/admin/tutorials/reports/tutorial.md @@ -32,17 +32,6 @@ requirements: The reports application gives some pre-configured analytics screens. These are very easy to setup and can help with debugging issues in Galaxy. -> Currently Broken, Requires Separate Domain -> Reports does not work, under a path prefix (the default setup that most -> people will use.) It is completely broken and the developers have no plans to fix it in the near term. -> See -> [galaxyproject/galaxy#15966](https://github.com/galaxyproject/galaxy/issues/15966) for more details. -> -> However, it should still function with a separate domain, if that is possible -> for your setup. Otherwise, it **will not work.** If you wish to follow this -> tutorial, please be aware of this. -{: .warning} - > > > 1. TOC @@ -121,6 +110,8 @@ The reports application is included with the Galaxy codebase and this tutorial a > + > + location /reports/ { > + proxy_pass http://{{ galaxy_config.gravity.reports.bind }}:/; +> + proxy_set_header X-Forwarded-Host $host; +> + proxy_set_header X-Forwarded-Proto $scheme; > + } > + > }