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 bec683263..07c7c3779 100644 --- a/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template +++ b/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template @@ -66,7 +66,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; - proxy_pass http://127.0.0.1:4000; + proxy_pass http://127.0.0.1:4000/hook; 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 7457fc963..44521823d 100644 --- a/deployment/bare_metal/nginx/sites-available/gradido.conf.template +++ b/deployment/bare_metal/nginx/sites-available/gradido.conf.template @@ -52,7 +52,7 @@ server { proxy_set_header Host $host; # no trailing slash to keep the hook/ prefix - proxy_pass http://127.0.0.1:4000; + proxy_pass http://127.0.0.1:4000/hook; proxy_redirect off; } diff --git a/nginx/gradido.conf b/nginx/gradido.conf index fcd1f441e..bfb079d32 100644 --- a/nginx/gradido.conf +++ b/nginx/gradido.conf @@ -51,7 +51,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; - proxy_pass http://backend:4000; + proxy_pass http://backend:4000/hook; proxy_redirect off; }