diff options
| author | Ken D'Ambrosio <ken@jots.org> | 2026-06-16 18:43:26 +0000 |
|---|---|---|
| committer | Ken D'Ambrosio <ken@jots.org> | 2026-06-16 18:43:26 +0000 |
| commit | a0803c8e87f375b1f138c7d1650ba21108f1cc62 (patch) | |
| tree | b523e79df910999effae48a5fb1af9736308e62a /scripts/update.rb | |
| parent | be80a08c6a2a330e81d43fbfd345f05199e75947 (diff) | |
Fix WhatsApp/OG link previews: https URLs and correct image dimensions
nginx was sending X-Forwarded-Proto: http (its own scheme) rather than
https (the edge scheme), so og:url and og:image were http:// URLs.
Fixed by hardcoding https in the nginx proxy_set_header since HTTPS is
always terminated at the upstream Apache router.
Added a 1200x630 landscape og-default.png (WhatsApp requires ~1.91:1
ratio) and explicit og:image:width/height meta tags. Also tracks the
nginx site config in the repo.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'scripts/update.rb')
0 files changed, 0 insertions, 0 deletions
