From 3bb0ff978bb97c46c4e725352c45f037de636a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus-Peter=20H=C3=BCbner?= Date: Tue, 28 Feb 2023 15:52:59 +0100 Subject: [PATCH] correct nginx locations --- .../nginx/sites-available/gradido.conf.ssl.template | 6 +++--- .../bare_metal/nginx/sites-available/gradido.conf.template | 6 +++--- 2 files changed, 6 insertions(+), 6 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 e179109c8..71885d29b 100644 --- a/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template +++ b/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template @@ -113,7 +113,7 @@ server { } # Federation - location /federation-5010 { + location /api/1_0 { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; @@ -128,7 +128,7 @@ server { error_log $GRADIDO_LOG_PATH/nginx-error.federation-5010.log warn; } - location /federation-5011 { + location /api/1_1 { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; @@ -143,7 +143,7 @@ server { error_log $GRADIDO_LOG_PATH/nginx-error.federation-5011.log warn; } - location /federation-5020 { + location /api/2_0 { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; diff --git a/deployment/bare_metal/nginx/sites-available/gradido.conf.template b/deployment/bare_metal/nginx/sites-available/gradido.conf.template index 80fe963d5..b3c493c43 100644 --- a/deployment/bare_metal/nginx/sites-available/gradido.conf.template +++ b/deployment/bare_metal/nginx/sites-available/gradido.conf.template @@ -99,7 +99,7 @@ server { } # Federation - location /federation-5010 { + location /api/1_0 { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; @@ -114,7 +114,7 @@ server { error_log $GRADIDO_LOG_PATH/nginx-error.federation-5010.log warn; } - location /federation-5011 { + location /api/1_1 { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; @@ -129,7 +129,7 @@ server { error_log $GRADIDO_LOG_PATH/nginx-error.federation-5011.log warn; } - location /federation-5020 { + location /api/2_0 { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade';