소스 검색

playground caddyfile workaround for graphql playground

Mokhtar Naamani 3 년 전
부모
커밋
b9294a2c6f
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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