summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2021-08-11 06:55:11 -0400
committerThien-Thi Nguyen <ttn@gnuvola.org>2021-08-11 06:55:11 -0400
commit247fb8bc2d639b6d9361c58639fd855acf861393 (patch)
tree5a8725463dcf8689b8d185008a63e38d2f8fe52b
parent27899628e73e315685a9c34fea0e223144f84d3d (diff)
downloaddocs-247fb8bc2d639b6d9361c58639fd855acf861393.tar.gz
docs-247fb8bc2d639b6d9361c58639fd855acf861393.tar.bz2
docs-247fb8bc2d639b6d9361c58639fd855acf861393.zip
replace nginx fixme w/ config frag + blurb
Another approach is to add the frag to the basic config and put the blurb in the following paragraph. That works, but stresses the reader's chunking abilities. Better to present bite-sized slices. Being spread out is better for readability and maintainability: it's now trivial to add index entries, for example.
-rw-r--r--taler-merchant-manual.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/taler-merchant-manual.rst b/taler-merchant-manual.rst
index d5e3a250..158311a5 100644
--- a/taler-merchant-manual.rst
+++ b/taler-merchant-manual.rst
@@ -925,7 +925,13 @@ have TLS configured. Leave out the last line if your Nginx reverse proxy does
not have HTTPS enabled. Make sure to restart the ``taler-merchant-httpd``
process after changing the ``SERVE`` configuration.
-FIXME: What about 40[34] swizzling? (#6944)
+For higher security (by leaking less information), you can add to the configuration:
+
+.. code-block:: nginx
+
+ error_page 404 =403 /empty.gif;
+
+This remaps all 404 response codes (Unavailable) to 403 (Forbidden).
Apache
^^^^^^