2
0
mirror of https://github.com/offen/website.git synced 2024-11-26 18:50:27 +01:00

Merge pull request #157 from offen/development

serve well known files
This commit is contained in:
Frederik Ring 2021-04-16 09:59:28 +02:00 committed by GitHub
commit fc39081b4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions

View File

@ -31,6 +31,8 @@ up:
KEYBASE_FILE ?= keybase.txt KEYBASE_FILE ?= keybase.txt
ROBOTS_FILE ?= robots.txt.staging ROBOTS_FILE ?= robots.txt.staging
ANALYTICSTXT_FILE ?= analytics.txt
SECURITYTXT_FILE ?= security.txt
SITEURL ?= http://localhost:8000 SITEURL ?= http://localhost:8000
.PHONY: build .PHONY: build
@ -42,4 +44,7 @@ build:
@docker cp assets:/code/homepage/output/. ./output/ @docker cp assets:/code/homepage/output/. ./output/
@cp build/${ROBOTS_FILE} ./output/robots.txt @cp build/${ROBOTS_FILE} ./output/robots.txt
@cp build/${KEYBASE_FILE} ./output/keybase.txt @cp build/${KEYBASE_FILE} ./output/keybase.txt
@mkdir -p ./output/.well-known
@cp build/${ANALYTICSTXT_FILE} ./output/.well-known/analytics.txt
@cp build/${SECURITYTXT_FILE} ./output/.well-known/security.txt
@docker rm assets @docker rm assets

19
build/analytics.txt Normal file
View File

@ -0,0 +1,19 @@
# analytics.txt file for www.offen.dev
Author: Frederik Ring <hioffen@posteo.de>
Collects: url, referrer, device-type
Stores: first-party-cookies, local-storage
# Usage data is encrypted end-to-end
Uses: javascript
# Users can also delete their usage data only without opting out
Allows: opt-in, opt-out
# Data is retained for 6 months
Retains: P6M
# Optional fields
Honors: none
Tracks: sessions, users
Varies: none
Shares: per-user
Implements: gdpr
Deploys: offen

3
build/security.txt Normal file
View File

@ -0,0 +1,3 @@
Contact: mailto:hioffen@posteo.de
Expires: Sat, 31 Dec 2022 23:59 +0200
Policy: https://github.com/offen/offen/blob/development/SECURITY.md