Skip to content

Commit

Permalink
Merge pull request #801 from AthulyaMS/demo
Browse files Browse the repository at this point in the history
changing the endpoint of  graphql(v2/graphql)
  • Loading branch information
shimilgithub authored Apr 10, 2024
2 parents b389e98 + 3ab6162 commit 8c39355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion docker/nginx/prod/app.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ server {
proxy_pass http://vachan-cms-rest:8005;
}

location /graphql/ {
location /v2/graphql/ {
proxy_pass http://vachan-cms-graphql:8004;
}

Expand Down

0 comments on commit 8c39355

Please sign in to comment.