From 14726ed387b04116c3b9661d4827e20c31651632 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 10 Jan 2022 08:34:21 +0100 Subject: [PATCH] some more nginx fixes --- .../bare_metal/nginx/sites-available/gradido.conf.ssl.template | 2 +- .../bare_metal/nginx/sites-available/gradido.conf.template | 2 +- nginx/gradido.conf | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template b/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template index b8d127192..bec683263 100644 --- a/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template +++ b/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template @@ -79,7 +79,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; - proxy_pass http://127.0.0.1:8080; + proxy_pass http://127.0.0.1:8080/; proxy_redirect off; } diff --git a/deployment/bare_metal/nginx/sites-available/gradido.conf.template b/deployment/bare_metal/nginx/sites-available/gradido.conf.template index 286075c89..7457fc963 100644 --- a/deployment/bare_metal/nginx/sites-available/gradido.conf.template +++ b/deployment/bare_metal/nginx/sites-available/gradido.conf.template @@ -65,7 +65,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; - proxy_pass http://127.0.0.1:8080; + proxy_pass http://127.0.0.1:8080/; proxy_redirect off; } diff --git a/nginx/gradido.conf b/nginx/gradido.conf index 31f4474e0..fcd1f441e 100644 --- a/nginx/gradido.conf +++ b/nginx/gradido.conf @@ -64,6 +64,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; + # TODO: in docker environemnt we do not have the trailing slash. This needs work proxy_pass http://admin:8080; proxy_redirect off; }