summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-05-24 08:36:56 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-05-24 08:48:58 +0200
commitaba2da0757d6d459baa431786c815c74da4e830c (patch)
tree343720fceee3542684e32bbad85d892a49067939 /tasks
parent9eb434bb0ec5f6802cfa84411cf3384bcc8ab709 (diff)
Serve empty error pages as text/plain not application/x-empty.
So Firefox and Chromium serve a blank page resp. a generic ”HTTP ERROR 404” page. With application/x-empty Chromium serves the following This site can’t be reached The webpage at https://example.net/… might be temporarily down or it may have moved permanently to a new web address. ERR_INVALID_RESPONSE which can be confusing (even though only OpenLayer should consume those error pages). This reverts commit 1843371641f5b3898893df91094412eaeedc8807.
Diffstat (limited to 'tasks')
-rw-r--r--tasks/httpd.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/httpd.yml b/tasks/httpd.yml
index ea2dee0..2e1fa98 100644
--- a/tasks/httpd.yml
+++ b/tasks/httpd.yml
@@ -55,8 +55,8 @@
owner=root group=root
mode=0755
-- name: Create /var/www/webmap/_empty
- copy: dest=/var/www/webmap/_empty content=""
+- name: Create /var/www/webmap/_.txt
+ copy: dest=/var/www/webmap/_.txt content=""
owner=root group=root
mode=0644