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

test webmentions & other indieweb stuff

This commit is contained in:
2020-01-21 09:44:39 -05:00
parent be6f8b1fef
commit 87fc0f949f
7 changed files with 150 additions and 104 deletions

View File

@@ -42,6 +42,7 @@
# Feature-Policy = "accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; sync-xhr 'none'; payment 'none'; usb 'none'; vr 'none'"
X-XSS-Protection = "1; mode=block"
# X-XSS-Protection = "1; mode=block; report=https://jarvis.report-uri.com/r/d/xss/enforce"
X-Pingback = "https://jarv.is/ping/xmlrpc"
X-Got-Milk = "always"
X-View-Source = "https://go.jarv.is/source"
@@ -50,7 +51,7 @@
for = "/jarvis.asc"
[headers.values]
Cache-Control = "max-age=0, no-cache, no-store"
Content-Type = "text/plain; charset=utf-8"
Content-Type = "text/plain; charset=UTF-8"
Content-Disposition = "inline; filename=\"jarvis.asc\""
# Redirect www and Netlify subdomains to primary domain:
@@ -97,8 +98,9 @@
status = 301
force = true
# Mirror these directories from elsewhere to mimic old GitHub Pages behavior
# and keep the main repository squeaky clean:
# Proxy these directories from elsewhere to mimic GitHub Pages behavior and
# keep this main repository squeaky clean.
# https://github.com/jakejarvis/random-sites
[[redirects]]
from = "/y2k/*"
to = "https://modest-jackson-d5516b.netlify.com/y2k/:splat"
@@ -134,6 +136,21 @@
to = "/me_large.jpg"
status = 200
# Send pingbacks to https://webmention.io
[[redirects]]
from = "/xmlrpc.php"
to = "https://webmention.io/jarv.is/xmlrpc"
status = 200
[[redirects]]
from = "/ping/*"
to = "https://webmention.io/jarv.is/:splat"
status = 200
# fixes manual form submission
[[redirects]]
from = "/jarv.is/webmention"
to = "https://webmention.io/jarv.is/webmention"
status = 200
# H A C K E R M A N ( ͡° ͜ʖ ͡°)
[[redirects]]
from = "*/wp-login.php"