title: Apollo-server hide graphql ui in production
body: <p>I've been searching for an explanation of this. The question is kind of &quot;basic&quot; so I was hopping to find the solution quickly, but I haven't.</p>
  <p>I want to hide the graphical ui in production server so anyone can't see my queries, but I can't. I don't have problems to figure it out how to have different environment variables in local and in production. I searched in the documentation but I can't find the way.</p>
  <p>Thanks in advance!</p>