Add nginx rules for Hasura REST api
This commit is contained in:
parent
26921d19dd
commit
204de3f6fe
@ -13,3 +13,11 @@ location /v1/graphql {
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://127.0.0.1:8080; #Hasura
|
||||
}
|
||||
|
||||
location /api/rest {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://127.0.0.1:8080; #Hasura
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user