aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2026-01-24 14:28:59 +0100
committeralex <alex@pdp7.net>2026-01-24 14:28:59 +0100
commitfa4e0c54302f163ebdc9eb976471e9cf58ffacc1 (patch)
tree0692921d8d1d08928119c54924cc7c8e03342cad
parent11a41975c9614eca642bb97602d17ce37107f733 (diff)
Set UTF-8 as the charset for gemtext
-rw-r--r--infrastructure/roles/web/tasks/main.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/infrastructure/roles/web/tasks/main.yaml b/infrastructure/roles/web/tasks/main.yaml
index bfa56f7..cac501d 100644
--- a/infrastructure/roles/web/tasks/main.yaml
+++ b/infrastructure/roles/web/tasks/main.yaml
@@ -60,6 +60,7 @@
dest: /etc/apache2/conf-enabled/gemini.conf
content: |
AddType text/gemini .gmi
+ AddCharset UTF-8 .gmi
# With the default dir module configuration disabled, DirectoryIndex index enables multiviews for indexes.
# This means that you can have index.html and index.gmi and the client and server will negotiate which content to deliver.
DirectoryIndex index