# 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/; }