Add Web Key Directory (WKD)

This commit is contained in:
2026-10-10 22:30:42 +03:00
parent 4bbcd31694
commit 9ef912049a
7 changed files with 120 additions and 167 deletions
+5 -11
View File
@@ -1,14 +1,8 @@
FROM nginx:alpine
LABEL description="HTTP server for OpenPGP public keys"
RUN rm -f /etc/nginx/conf.d/default.conf
LABEL description="Static OpenPGP public key and Web Key Directory server"
RUN rm -f /etc/nginx/conf.d/default.conf \
&& mkdir -p /usr/share/nginx/html/keys /usr/share/nginx/html/.well-known/openpgpkey
COPY nginx.conf /etc/nginx/conf.d/default.conf
RUN mkdir -p /usr/share/nginx/html/keys \
&& chown -R nginx:nginx /usr/share/nginx/html
RUN chown -R nginx:nginx /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]