1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00

Compare commits

...

3 commits

Author SHA1 Message Date
Rohan Kumar
6b777881bb
Relax htmltest a bit 2023-05-26 21:12:16 -07:00
Rohan Kumar
f31763b9b1
Simplify interactions section a bit
Inspired by feedback from sysinhell:
https://pleroma.envs.net/notice/AVe4QxnEKCRXmDn6Bs
2023-05-26 21:09:31 -07:00
Rohan Kumar
52e0bc5081
Mention that Envoy uses BoringSSL 2023-05-26 20:57:41 -07:00
4 changed files with 9 additions and 5 deletions

View file

@ -21,5 +21,6 @@ Despite BoringSSL's "not intended for general use" warning, it's used by many pr
- Optionally: Nginx, libcurl
- <ins datetime="2023-04-24">(Update <time>2023-04-24</time>) [Apple's SwiftNIO SSL](https://github.com/apple/swift-nio-ssl)</ins>
- <ins datetime="2023-04-24">(Update <time>2023-04-24</time>) [AWS libcrypto](https://github.com/aws/aws-lc) is based on BoringSSL</ins>
- <ins datetime="2023-05-26">(Update <time>2023-05-26</time>) the Envoy proxy [uses BoringSSL](https://www.envoyproxy.io/docs/envoy/latest/faq/build/boringssl)</ins>
I use nginx-quic with BoringSSL without issue, although I did have to use [a separate script](https://github.com/tomwassenberg/certbot-ocsp-fetcher) to manage the OCSP cache. The script manages the cache better than Nginx ever did, so I recommend it; it should be trivial to switch it from OpenSSL to LibreSSL.

View file

@ -1,5 +1,5 @@
<fieldset>
<legend>Publish a response on your own website and share the link here to send me a webmention! Include a link to this pages canonical location for it to be accepted.</legend>
<legend>Publish a response on your own website, and link back to this page's canonical location. Then share your link here to turn it into a Webmention.</legend>
<form
itemprop="potentialAction" itemscope="" itemtype="https://schema.org/CommentAction"
action="https://seirdy.one/webmentions/receive" method="post">

View file

@ -5,7 +5,7 @@
{{- end -}}
<h3 id="webmentions" tabindex="-1">Web&#173;mentions</h3>
<p>This site supports <a href="https://indieweb.org/Webmention">Webmentions</a>, a backlink-based alternative to traditional comment forms.</p>
{{ partial "webmention-form.html" . }}
<details><summary>Send a Webmention</summary>{{ partial "webmention-form.html" . }}</details>
{{- /* Fetch all webmentions with bearer token */ -}}
{{- $allMentions := (index .Site.Data "webmentions").items -}}
{{- /* Filter webmentions to just the ones for the current targets */ -}}
@ -21,9 +21,9 @@
{{- /* Render webmentions if they exist */ -}}
{{- $count := (len $webmentions) -}}
{{- if gt $count 0 -}}
<p>Webmentions received for this post appear in the following list after I approve them. I sometimes send Webmentions to myself on behalf of linking sites that dont support them. I auto-replace broken links with <a href="https://web.archive.org/">Wayback Machine</a> snapshots, if they exist.</p>
<details>
<summary>Toggle {{ $count }} Webmentions</summary>
<p>Webmentions received for this post appear in the following list after I approve them. I sometimes send Webmentions to myself on behalf of linking sites that dont support them. I auto-replace broken links with <a href="https://web.archive.org/">Wayback Machine</a> snapshots, if they exist.</p>
<dl>
{{ range sort $webmentions "created_at" -}}
{{ $webmention := . -}}

View file

@ -1,13 +1,13 @@
DirectoryPath: "public"
IgnoreDirs:
- "search"
CacheExpires: "48h" # 2 days
CacheExpires: "120h" # 1 day
CheckFavicon: true
EnforceHTML5: true
IgnoreAltMissing: false
IgnoreAltEmpty: true # an empty alt makes presentation-role explicit, it's not a defect.
EnforceHTTPS: true
ExternalTimeout: 20
ExternalTimeout: 10
HTTPConcurrencyLimit: 128
IgnoreHTTPS:
- "http://192.168.1"
@ -40,6 +40,8 @@ IgnoreURLs:
- "https://seirdy.one/webmentions/"
- "http://creativecommons.org/ns"
- "https://seirdy.one/search/"
# - "https://seirdy.one/.well-known/webfinger?resource=acct%3Aseirdy%40seirdy.one"
- "https://seirdy.one/.well-known/webfinger" # inexplicable false positive
- "https://fediring.net/(previous|next)" # redir
# - "https://forum.palemoon.org/viewtopic.php?f=1&t=25473" # manual check: blocks crawlers
- "https://forum.palemoon.org/viewtopic.php"
@ -50,6 +52,7 @@ IgnoreURLs:
# - "https://forum.kuketz-blog.de/viewtopic.php?p=78202" # manual check: blocks crawlers
- "https://forum.kuketz-blog.de/viewtopic.php"
- "https://web.archive.org/" # the wayback machine itself.
- "https://i.reddit.com/r/web_design/comments/k0dmpj/an_opinionated_list_of_best_practices_for_textual/gdmxy4u/"
- "https://gitweb.torproject.org/tor-browser.git/tree/browser/components/securitylevel/SecurityLevel.jsm.id=ffdf" # Seems to block htmltest; check manually
- "https://lnk.dk" # blocks htmltest
- "https://www.fastcompany.com/90759792/with-google-dominating-search-the-internet-needs-crawl-neutrality" # blocks htmltest