Unverified Commit 40b2d1f7 authored by Maarten de Waard's avatar Maarten de Waard 🤘🏻
Browse files

add htaccess file with secure headers

parent 8689b550
Header set Strict-Transport-Security "max-age=63072000"
Header set X-Content-Type-Options "nosniff"
Header set X-Frame-Options "DENY"
Header set X-XSS-Protection "1; mode=block"
......@@ -12,6 +12,9 @@ mkdir -p ~/.ssh
apt-get update
apt-get install -y rsync
# Copy .htaccess into build folder.
cp .htaccess build/
# Upload site.
rsync -r --verbose --compress --delete --exclude js-components ./build/ \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment