From 6ea1646f9b836e64ebaca9e6362a078e4c3077d8 Mon Sep 17 00:00:00 2001 From: networkException Date: Thu, 14 Apr 2022 17:17:22 +0200 Subject: [PATCH] Apache+WellKnown: Determent keybase proof file based on domain --- public/.htaccess | 4 ++++ public/.well-known/{keybase.txt => nwex.de.keybase.txt} | 0 2 files changed, 4 insertions(+) create mode 100644 public/.htaccess rename public/.well-known/{keybase.txt => nwex.de.keybase.txt} (100%) diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..24f4409 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,4 @@ +RewriteEngine On +RewriteCond %{REQUEST_URI} ^/.well-known/keybase.txt$ +RewriteCond %{HTTP_HOST} ^(.*)$ +RewriteRule ^(.*) /.well-known/%1.keybase.txt diff --git a/public/.well-known/keybase.txt b/public/.well-known/nwex.de.keybase.txt similarity index 100% rename from public/.well-known/keybase.txt rename to public/.well-known/nwex.de.keybase.txt