Wait, apparently you could actually do this in #nginx before they removed #http2 #serverpush :alice_pog:
location ~ ^(?.*)\.html$ {
http2_push $canonical;
return 301 $canonical;
}
Can somebody try testing this? :sagume_think:
https://news.ycombinator.com/item?id=32529523
RE: https://makai.chaotic.ninja/notes/9xy7bei08r
Conversation
Notices
-
Embed this notice
:mima_rule: Mima-sama (mima@makai.chaotic.ninja)'s status on Tuesday, 10-Sep-2024 17:10:56 JST :mima_rule: Mima-sama - :blobcathug: likes this.