Replies: 1 comment 4 replies
-
Which package are you using (apollo-server, apollo-server-express, etc)? What version of Apollo Server are you using? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
Before I begin, I just wanted to clarify that my apollo server is actually working fine, but I have a query which is confusing me and I was wondering if anyone could help:
I have a front end which runs on
https://mydomain.net
and a graphql apollo express server which runs onhttps://api.mydomain.net
. As mentioned above, this (the apollo server) works fine when I visit my domain url. However, If i navigate in the browser directly tohttps://api.mydomain.net
this returns a 500 error.I do have an NGinx reverse proxy set up, but this is with the following which, afaik, should not result in a 500 error:
Although this isn't causing any issues, this does actually result in my load balancer reporting that my apollo server is down (because pinging the root path via http/s returns
500
).Could anyone clarify why this is and a potential fix? Even if this just returned a
204
that would be better I feel?Thanks
Beta Was this translation helpful? Give feedback.
All reactions