Skip to content

Commit

Permalink
Added a / after location /api (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
sushant12 authored and begriffs committed Feb 26, 2017
1 parent ecbf49a commit f1181cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ The first step is to create an Nginx configuration file that proxies requests to
server {
...
# expose to the outside world
location /api {
location /api/ {
default_type application/json;
proxy_hide_header Content-Location;
add_header Content-Location /api$upstream_http_content_location;
add_header Content-Location /api/$upstream_http_content_location;
proxy_set_header Connection "";
proxy_http_version 1.1;
proxy_pass http://postgrest/;
Expand Down

0 comments on commit f1181cc

Please sign in to comment.