/ postgrest wip
This commit is contained in:
@@ -63,7 +63,7 @@ server {
|
|||||||
# proxy_set_header Accept 'application/vnd.pgrst.object+json';
|
# proxy_set_header Accept 'application/vnd.pgrst.object+json';
|
||||||
|
|
||||||
# assuming an upstream named "postgrest"
|
# assuming an upstream named "postgrest"
|
||||||
proxy_pass http://postgrest/$1?id=eq.$2;
|
# proxy_pass http://postgrest/$1?id=eq.$2;
|
||||||
|
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
proxy_hide_header Content-Location;
|
proxy_hide_header Content-Location;
|
||||||
|
|||||||
Reference in New Issue
Block a user