On-the-fly image resizing with Nginx

Available to Premium members only
  • avatar
  • 280 Views
  • 10 mins read
Preview image

If you've ever managed a web server that serves images to thousands of users, you've probably run into the problem of serving the right image size to the right context. A 1200x800 hero image looks great on a desktop, but it's pure waste on a mobile screen or a thumbnail grid. The traditional answer to this has been generating multiple image variants at upload time, but that approach gets messy fast. A cleaner and more flexible solution is to resize images directly at the server level, on demand, using nothing more than nginx and its built-in image filter module. This guide walks you through setting that up from scratch, including caching so your server isn't processing the same image twice.

Running PHP 8.5 with Nginx on Ubuntu

  • avatar
  • 7.4K Views
  • 7 mins read
Preview image

Running modern PHP applications on a stable stack is a basic requirement for most IT and development environments. Pairing PHP 8.5 with Nginx gives you strong performance, good resource usage, and solid flexibility for APIs, CMS platforms, and custom applications.

In this guide, you will install PHP 8.5 with PHP FPM, remove older PHP versions safely, manage extensions, and configure Nginx to use the new version. The steps are written for common Linux distributions such as Ubuntu and Debian, but the logic is similar on other systems.

Docker Installation Guide

  • avatar
  • 253 Views
  • 5 mins read
Preview image

Docker is an open platform that allows developers to build, ship, and run applications inside containers. A container packages an application together with its runtime, libraries, and configuration so it behaves consistently across environments. The same container image can run on a local Linux machine, a staging server, or a production cluster with predictable results. This approach reduces environment related issues and makes deployments more structured and reproducible.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

Practical guide to PHP 8.5 containerization

  • avatar
  • 4.3K Views
  • 1 Like
  • 7 mins read
Preview image

Containerization for PHP 8.5 gives a simple, predictable and practical way to run applications without worrying about what the host machine has installed. A container bundles PHP, extensions and all required tools in one place. This helps teams keep things clean, reproducible and easy to work with. The idea is straightforward: you build an image, start containers from it and share the image when needed. PHP 8.5 brings performance improvements and a smoother developer experience, so pairing it with Docker is a natural step for modern projects.

Best & Cheap Forex VPS Hosting for MT4, MT5 Traders

  • 6.8K Views
  • 10 mins read

The Forex trading server can define your earnings and losses with its performance. So it is better to go with the indispensable tool to gain an advantage over the competitive edge. You will get a seamless forex VPS with low-latency New York datacenter from a trusted DedicatedCore hosting provider. That tool is a Virtual Private Server that you can set up as you need to execute trades.

Configuring multiple websites on a single Nginx server

  • avatar
  • 3.0K Views
  • 3 Likes
  • 6 mins read
Preview image

Nginx is a powerful and lightweight web server that's commonly used to serve websites and static content. If you're running several websites on a single machine, configuring Nginx to manage them properly is efficient and straightforward. This article walks you through installing Nginx, setting up multiple sites, configuring firewall access, and organizing your folders and logs in a clean and practical way.

Setting up SQLite with Docker Compose

  • avatar
  • 29.0K Views
  • 27 Likes
  • 8 mins read
Preview image

Creating a Docker image with an SQLite database is a smart way to ensure that your application runs consistently across different environments. Docker simplifies the deployment process by allowing developers to package applications with all their dependencies into a single container. SQLite, being a lightweight database, fits well into this scenario. In this article, we'll walk through the steps needed to create a Docker image that includes an SQLite database, using Docker Compose for easy management.

Setting up MySQL and Redis with Docker Compose

  • avatar
  • 6.2K Views
  • 1 Like
  • 6 mins read
Preview image

Docker has transformed the way developers deploy applications, offering an efficient method to package and distribute software. One common use case involves setting up a MySQL database alongside a Redis service. MySQL serves as a reliable relational database management system, while Redis acts as a high-performance in-memory key-value store. With Docker and Docker Compose, you can get both of these services up and connected in just a few steps. This article will guide you through creating a Docker environment that includes MySQL and Redis, giving you a smooth and reliable setup.

Running PHP8.3 with Nginx on Ubuntu

  • avatar
Preview image

PHP is a scripting language widely used for web development, with code processed on a web server through a PHP interpreter, implemented as a module, daemon, or CGI executable. Nginx lacks the default ability to handle dynamic web pages with PHP and requires specific additional plugins for this purpose. One such plugin is FPM (FastCGI Process Manager), an alternative PHP FastCGI implementation offering additional features, particularly advantageous for high-traffic sites. FPM stands out as the preferred method for PHP page processing with Nginx, surpassing traditional CGI-based methods in terms of speed.

Secure File Transfers with SCP

  • avatar
  • 2.1K Views
  • 1 Like
  • 3 mins read
Preview image

Secure Copy Protocol, also known as SCP, stands out as a robust yet straightforward solution for securely transferring files between local and remote systems. Let's explore this essential command and understand how it simplifies your file transfer needs without unnecessary complexity.

At its core, SCP is a command-line utility crafted to securely copy files and directories between hosts over an SSH (Secure Shell) connection. What makes SCP particularly handy is its simplicity. With just a single command, you can swiftly move files from your local machine to a remote server or vice versa, all while ensuring the confidentiality and integrity of your data.