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:
@@ -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
|
||||
|
||||
|
@@ -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">
|
||||
|
Reference in New Issue
Block a user