From 3ab6162bd61bff923518c1afead2a693ca10ef7d Mon Sep 17 00:00:00 2001 From: AthulyaMS Date: Wed, 10 Apr 2024 12:21:21 +0530 Subject: [PATCH] changing the endpoint og graphql --- docker/nginx/default.conf | 2 +- docker/nginx/prod/app.conf.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf index a9e07dc5..cf2419bf 100644 --- a/docker/nginx/default.conf +++ b/docker/nginx/default.conf @@ -10,7 +10,7 @@ server { try_files $uri $uri/ =404; } - location /graphql/ { + location /v2/graphql/ { # Important, make sure you always remove the trailing slash proxy_pass http://vachan-cms-graphql:8004; proxy_set_header X-Real-IP $remote_addr; diff --git a/docker/nginx/prod/app.conf.template b/docker/nginx/prod/app.conf.template index dabd3376..38a4ecdc 100644 --- a/docker/nginx/prod/app.conf.template +++ b/docker/nginx/prod/app.conf.template @@ -49,7 +49,7 @@ server { proxy_pass http://vachan-cms-rest:8005; } - location /graphql/ { + location /v2/graphql/ { proxy_pass http://vachan-cms-graphql:8004; }