Add Web Key Directory (WKD)
This commit is contained in:
+5
-11
@@ -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;"]
|
||||
|
||||
Reference in New Issue
Block a user