From 1fbf6be6c222406b13de147b44fafc9a18135c87 Mon Sep 17 00:00:00 2001 From: lucaelin Date: Sat, 10 Apr 2021 15:11:26 +0200 Subject: [PATCH] web: add security.txt (#719) --- web/Dockerfile | 2 ++ web/security.txt | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 web/security.txt diff --git a/web/Dockerfile b/web/Dockerfile index 53f4db235..34ab8eb89 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -7,7 +7,9 @@ RUN cd /static && npm i --production=false && npm run build FROM nginx +RUN mkdir /usr/share/nginx/html/.well-known COPY --from=npm-builder /static/robots.txt /usr/share/nginx/html/robots.txt +COPY --from=npm-builder /static/security.txt /usr/share/nginx/html/.well-known/security.txt COPY --from=npm-builder /static/dist/ /usr/share/nginx/html/static/dist/ COPY --from=npm-builder /static/authentik/ /usr/share/nginx/html/static/authentik/ COPY ./nginx.conf /etc/nginx/nginx.conf diff --git a/web/security.txt b/web/security.txt new file mode 100644 index 000000000..54de4014a --- /dev/null +++ b/web/security.txt @@ -0,0 +1,4 @@ +Contact: mailto:security@beryju.org +Expires: Sat, 1 Jan 2022 00:00 +0200 +Preferred-Languages: en, de +Policy: https://github.com/BeryJu/authentik/blob/master/SECURITY.md \ No newline at end of file