summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2020-12-04 04:43:31 -0500
committerThien-Thi Nguyen <ttn@gnuvola.org>2020-12-04 04:43:31 -0500
commit97b8feb3e1ffd8839fc3b01015b7684a199bb17b (patch)
tree088a803dfcb6323e19d388466926e71bccbe561b
parent70c595550cb94fe98d127d60ce97249b9070ba72 (diff)
downloaddocs-97b8feb3e1ffd8839fc3b01015b7684a199bb17b.tar.gz
docs-97b8feb3e1ffd8839fc3b01015b7684a199bb17b.tar.bz2
docs-97b8feb3e1ffd8839fc3b01015b7684a199bb17b.zip
use ‘.. code-block:: nginx’ (three instances)
-rw-r--r--taler-merchant-manual.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/taler-merchant-manual.rst b/taler-merchant-manual.rst
index 0ba5e887..8e9ff045 100644
--- a/taler-merchant-manual.rst
+++ b/taler-merchant-manual.rst
@@ -939,7 +939,7 @@ Nginx
For Nginx, a possible basic reverse proxy configuration would be:
- ::
+.. code-block:: nginx
proxy_pass http://unix:/some/path/here.sock;
proxy_redirect off;
@@ -1005,7 +1005,7 @@ Nginx
For Nginx, you can implement token-based merchant backend authentication as
follows:
- ::
+.. code-block:: nginx
location ~ /private/ {
if ($http_authorization !~ "(?i)ApiKey SECURITYTOKEN") {
@@ -1024,7 +1024,7 @@ If you are running different instances on the same backend, you
likely will want to specify different access control tokens for
each instance:
- ::
+.. code-block:: nginx
location ~ ^/instances/foo/private/ {
if ($http_authorization !~ "(?i)ApiKey FOOTOKEN") {