1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-18 22:15:32 -04:00

host new public key for AMP cache invalidation

https://developers.google.com/amp/cache/update-cache#rsa-keys
This commit is contained in:
2020-02-01 19:17:41 -05:00
parent 1ce87747b6
commit e151b62501
4 changed files with 18 additions and 1 deletions

View File

@@ -54,6 +54,13 @@
Content-Type = "text/plain; charset=UTF-8"
Content-Disposition = "inline; filename=\"jarvis.asc\""
# AMP cache invalidation key requirements
# https://developers.google.com/amp/cache/update-cache#update-cache-guidelines
[[headers]]
for = "/.well-known/amphtml/apikey.pub"
[headers.values]
Content-Type = "text/plain; charset=UTF-8"
# Redirect Netlify and www subdomains to primary domain:
[[redirects]]
from = "https://jakejarvis.netlify.com/*"