1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 04:55:30 -04:00

clean up a few headers, redirects, scripts

This commit is contained in:
2020-04-05 15:50:41 -04:00
parent 22c7e76e51
commit b69461c306
5 changed files with 19 additions and 37 deletions

View File

@@ -1,12 +1,11 @@
# Sensible default security headers
# - More info: https://scotthelme.co.uk/hardening-your-http-response-headers/
# - Test website: https://securityheaders.com/
/*
Referrer-Policy: strict-origin-when-cross-origin
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
# Super long cache for web fonts and Twemojis (one year)
# Super long cache (one year) for vendored assets: web fonts, emojis, etc.
/vendor/*
Cache-Control: max-age=31536000, public, immutable

View File

@@ -1,2 +1,2 @@
<link rel="webmention" href="{{ "ping/webmention" | absURL }}">
<link rel="pingback" href="{{ "ping/xmlrpc" | absURL }}">
<link rel="webmention" href="https://webmention.io/jarv.is/webmention">
<link rel="pingback" href="https://webmention.io/jarv.is/xmlrpc">