We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a6869 commit 6628b10Copy full SHA for 6628b10
1 file changed
Resources/nginx/nginx.conf
@@ -47,10 +47,6 @@ http {
47
server graphql-engine:8080 fail_timeout=0;
48
}
49
50
- upstream graphiql_upstream {
51
- server graphiql:80 fail_timeout=0;
52
- }
53
-
54
geo $limit {
55
default 1;
56
10.0.0.0/8 0;
@@ -109,7 +105,8 @@ http {
109
105
proxy_set_header X-Real-IP $remote_addr;
110
106
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
111
107
proxy_set_header Host $http_host;
112
- proxy_pass http://graphiql_upstream/;
108
+ set $upstream_graphiql graphiql_upstream;
+ proxy_pass http://$upstream_graphiql/;
113
114
115
location /graphql/v1beta {
0 commit comments