Fix references to full documents instead of first section

Resolves #492

Signed-off-by: Wolfgang Walther <walther@technowledgy.de>
This commit is contained in:
Wolfgang Walther
2022-01-30 13:31:20 +01:00
committed by Wolfgang Walther
parent 49ca91cc3c
commit 0ae86b7e74
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ We can retrieve this image in binary format from our PostgREST API by requesting
Unfortunately, putting the URL into the :code:`src` of an :code:`<img>` tag will not work.
That's because browsers do not send the required header.
Luckily, we can configure our :ref:`Nginx reverse proxy <admin>` to fix this problem for us.
Luckily, we can configure our :doc:`Nginx reverse proxy <../admin>` to fix this problem for us.
We assume that PostgREST is running on port 3000.
We provide a new location :code:`/files/` that redirects requests to our endpoint with the :code:`Accept` header set to :code:`application/octet-stream`.