Add opengpgkey for WKD service.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 8 Jul 2019 06:53:13 +0000 (15:53 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 8 Jul 2019 06:53:13 +0000 (15:53 +0900)
Makefile
opengpgkey-fsij-org.conf [new file with mode: 0644]
openpgpkey/fsij.org/hu/gu9mp83yp7z6a4x5jxm3arux3xxn3duk [new file with mode: 0755]
openpgpkey/fsij.org/policy [new file with mode: 0644]
www-fsij-org.conf

index 850bab3..174bbfd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,7 @@ help:
 
 html:
        $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
+       rm -rf $(OUTPUTDIR)/openpgpkey && cp -a openpgpkey $(OUTPUTDIR)/
 
 clean:
        [ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)
diff --git a/opengpgkey-fsij-org.conf b/opengpgkey-fsij-org.conf
new file mode 100644 (file)
index 0000000..8b4f659
--- /dev/null
@@ -0,0 +1,19 @@
+<VirtualHost *:80>
+       ServerAdmin webmaster@fsij.org
+       ServerName openpgpkey.fsij.org
+
+       DocumentRoot "/home/www/fsij-homepage-html/openpgpkey"
+       <Directory "/home/www/fsij-homepage-html/openpgpkey">
+         Options None
+         AllowOverride None
+         Order allow,deny
+         allow from all
+       </Directory>
+       ServerSignature On
+
+        LogLevel error
+        ErrorLog /var/log/apache2/error-fsij-openpgp.log
+        CustomLog /var/log/apache2/access-fsij-openpgp.log combined
+
+       RedirectMatch ^/.well-known/openpgpkey$ /
+</VirtualHost>
diff --git a/openpgpkey/fsij.org/hu/gu9mp83yp7z6a4x5jxm3arux3xxn3duk b/openpgpkey/fsij.org/hu/gu9mp83yp7z6a4x5jxm3arux3xxn3duk
new file mode 100755 (executable)
index 0000000..91a814d
Binary files /dev/null and b/openpgpkey/fsij.org/hu/gu9mp83yp7z6a4x5jxm3arux3xxn3duk differ
diff --git a/openpgpkey/fsij.org/policy b/openpgpkey/fsij.org/policy
new file mode 100644 (file)
index 0000000..e69de29
index 1a7a3b6..d478a41 100644 (file)
          Order deny,allow
          deny from all
        </Directory>
+       <Directory "/home/www/fsij-homepage-html/openpgpkey">
+         Options None
+         AllowOverride None
+         Order deny,allow
+         deny from all
+       </Directory>
        ServerSignature On
 
         LogLevel error