aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-06-23 05:17:23 +0200
committerMartin Fischer <martin@push-f.com>2021-06-23 05:17:23 +0200
commit086e0e30e47f796a12809036dfc787490904a8ae (patch)
treebe8e7ce22c9bf22081bf37397a58a2fac14e645c
parentd6d71d1693cb7d798bdf2b12c5fa6eea0a5860df (diff)
README: add info strings to code blocks
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 75c79cb..f78384b 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ Multi-user mode requires you to set up a reverse-proxy that authenticates users
and sets the `Username` header. The simplest authentication mechanism is HTTP
Basic Auth. With NGINX a reverse-proxy could be configured as follows:
-```
+```nginx
server {
listen 80;
listen [::]:80;
@@ -74,7 +74,7 @@ In multi-user mode GitPad defaults to `{username} <{username}@localhost.invalid>
Committer identities can be configured by creating a `users.toml` file in the
`gitpad` branch, with sections like the following:
-```
+```toml
[johndoe]
name = "John Doe"
email = "john@example.com"