-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx.conf
More file actions
42 lines (30 loc) · 918 Bytes
/
nginx.conf
File metadata and controls
42 lines (30 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
server {
listen 80;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name node2.testnet.gaiaopen.network 127.0.0.1;
location / {
proxy_pass https://127.0.0.1:4001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /x/ {
proxy_pass http://127.0.0.1:3000/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /graphql {
proxy_pass http://172.17.0.1:8030/graphql;
}
location /subgraphs {
proxy_pass http://172.17.0.1:8000/subgraphs;
}
location /graphiql.min.js {
proxy_pass http://172.17.0.1:8030/graphiql.min.js;
}
location /graphiql.css {
proxy_pass http://172.17.0.1:8030/graphiql.css;
}
}