Articles

Docker compose: nginx and wordpress behind Cloudflare — HTTPS to HTTP proxying problem

The article discusses a problem faced while using Cloudflare's Flexible proxying with Docker Compose and WordPress. The author explains that requests to Cloudflare are sent via HTTPS, but from Cloudflare to the server via HTTP, causing WordPress to fail. The solution the author provides is to create two folders on the host machine, one to store certificates and the other to store ACME challenges from Let's Encrypt, and mount them on the Nginx host.

How to genereate required previews for App Store and Google Play fast from emulator screenshots

The article presents a solution to the problem of generating required preview images for mobile app stores quickly by using a Python script to optimize the process of resizing and cropping emulator screenshots, and provides a code example of the script.

How to select always unique next image from predefined array of images on each new post with post id incremented by 1

The article suggests an algorithm to sequentially select the next image relative to the previous one for each new post, using a limited array of images.

About

Explore Aber Vulgue's blog for expert articles on programming, software development, and DevOps. Dive into practical guides on JavaScript, C++, mobile app development, neural networks, and more to enhance your tech skills.

Non penis canina est!