From ed724929e93cbfc3f0a68e8a1e1273694833c2b6 Mon Sep 17 00:00:00 2001 From: redfast00 Date: Tue, 17 Nov 2020 05:08:03 +0100 Subject: [PATCH] Add .well-known/security.txt --- Rules | 4 ++++ content/well-known/security.txt | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 content/well-known/security.txt diff --git a/Rules b/Rules index e6fb788..afd8db1 100644 --- a/Rules +++ b/Rules @@ -235,6 +235,10 @@ route '/**/*.{erb,html,md}' do "#{item.identifier.without_ext}/index.html" end +route %r[/well-known/(.+)] do |rest| + "/.well-known/" + rest[0] +end + # Let anything else simply pass through passthrough '/**/*' diff --git a/content/well-known/security.txt b/content/well-known/security.txt new file mode 100644 index 0000000..f142768 --- /dev/null +++ b/content/well-known/security.txt @@ -0,0 +1,3 @@ +Contact: mailto:admin@zeus.ugent.be +Preferred-Languages: nl,en +Policy: https://git.zeus.gent/bestuur/drive/-/blob/master/varia/responsible_disclosure_policy_nl.md \ No newline at end of file