Ver Fonte

playground caddyfile workaround for graphql playground

Mokhtar Naamani há 3 anos atrás
pai
commit
b9294a2c6f
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      devops/aws/templates/Playground-Caddyfile.j2

+ 5 - 0
devops/aws/templates/Playground-Caddyfile.j2

@@ -23,6 +23,11 @@
     reverse_proxy localhost:3334
 }
 
+# newer versions of graphql-server seems to expect this url also
+{{ nip_domain }}/@apollographql/* {
+    reverse_proxy localhost:8081
+}
+
 {{ nip_domain }}/query-node/server* {
     uri strip_prefix /query-node/server
     reverse_proxy localhost:8081