web: add security.txt (#719)
This commit is contained in:
parent
f3aea29324
commit
1fbf6be6c2
|
@ -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
|
||||
|
|
4
web/security.txt
Normal file
4
web/security.txt
Normal file
|
@ -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
|
Reference in a new issue