blob: f6f31bdaaa34a0ca13153a7b99021307f5616e15 (
plain) (
tree)
|
|
# Add a custom endpoint for passing requests to
# postgrest.
location /api/ {
default_type application/json;
proxy_hide_header Content-Location;
add_header Content-Location /api$upstream_http_content_location;
proxy_set_header Connection "";
proxy_http_version 1.1;
proxy_pass http://postgrest:3000/;
}
|