correct nginx locations

This commit is contained in:
Claus-Peter Hübner 2023-02-28 15:52:59 +01:00
parent 8b6f707931
commit 3bb0ff978b
2 changed files with 6 additions and 6 deletions

View File

@ -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';

View File

@ -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';