Browse Source

playground caddyfile workaround for graphql playground

Mokhtar Naamani 3 năm trước cách đây
mục cha
commit
b9294a2c6f
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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