Files
Artur MoreiraandPaperclip f599f54709 fix(nginx): expose /wp-content/uploads/ publicly for article featured images
WordPress article images (featured_media) are served from /wp-content/uploads/.
The existing /wp-content/ block restricts access to RFC1918 IPs, blocking public
browsers from loading article images. Add a longer ^~ prefix match for the uploads
subdirectory so it wins over the restricted block, with 7d cache headers.

Paired with setting ANDEBOL_WORDPRESS_PUBLIC_URL=https://andebol.net in .env so
WordPress returns public image URLs instead of localhost:8081.

Co-Authored-By: Paperclip <[email protected]>
2026-03-27 11:25:27 +00:00
..