This post shows how to run a Python app with Gunicorn and Nginx on a server managed by Hestia CP. Since there’s no official support, I created custom templates and used Supervisor for process management. It’s a two-stage setup: configuring Nginx templates and setting up Gunicorn via virtualenv and Supervisor.
Drupal 7 + Nginx + "upstream sent invalid Content-Length header" error 2 minute readThis post shares how to troubleshoot Nginx issues with a Drupal 7 site, including errors related to invalid Content-Length headers and PHP-FPM socket failures. Switching from Unix sockets to TCP and adjusting worker_connections resolved the problems. It also notes how Hestia CP can overwrite custom settings.
Installing Bitrix24 on Proxmox VE on Hetzner Server from Scratch 3 minute readThis guide walks through the complete installation and setup of Proxmox VE on Debian 12, followed by deploying Bitrix24 in both a KVM-based VM and an LXC container. Key points include network bridging, VM disk resizing, GRUB issues, and Bitrix environment installation quirks. It also covers SSH hardening, SSL setup, 2FA, backup restoration, timezone correction, and email configuration.
Bitrix24. Changing the encoding of the Bitrix24 website from CP-1251 to UTF-8, notes 5 minute readThis post describes converting a Bitrix24 project to UTF-8 encoding using the official manual with added tips. It includes backing up, adjusting Apache and PHP configs, database conversion, recoding scripts, and fixing charset conflicts in MySQL tables by recreating them.
How to install Ghost CMS via Docker on server with plesk control panel 5 minute readThis post explains how to install Ghost CMS on a Plesk server using Docker, since Ghost requires MySQL and not MariaDB. It covers setting up Plesk extensions, configuring Docker containers for MySQL and Ghost, linking them, setting proxy rules, and handling multiple blogs or subdomain setups.
Building PHP 7.4 with phpbrew on Ubuntu/Debian Server (Vesta CP) 2 minute readThe task was to install PHP 7.4 on an Ubuntu server (it is also possible on Debian). Vesta CP is used to manage my server and I'll install PHP 7.4.8 via phpbrew. Phpbrew pre-setup on Ubuntu/Debian server running Vesta CP Go to /root directory cd /root Let's prepare phpbrew for compilation. We will put in an alternative...
Simple script for backup of mysql databases 1 minute readSo, we have a task: On vps-server N mysql database M is running needed: backup with a given frequency. Solution. Let's write a BASH script using mysqldump and put it in cron #!/bin/bash ### variables user=USER pass=PASS bakdir="/path/to/backups/" echo "------ start ------" echo "-----------------------"...
How to configure Let's Encrypt on the VestaCP admin interface (8083 port) with CA use 2 minute readIt is assumed that you have a valid domain (the so-called FQDN), which you can use to enter the admin area. In my case, OVH provided a free domain of the form ns123456.ip-x-y-z.eu, which means that I can use it to enter the admin area: https://ns123456.ip-x-y-z.eu:8083/ Step-by-step set up Let's Encrypt on the VestaCP admin panel (8083 po...
Best way to install Nginx incubator pagespeed to Ubuntu Vesta CP 9 minute readFor modesty, I must say that this is in my opinion the best practice at the moment. Step 1. Preparation: package management - dependencies for build nginx pagespeed First, you need to check that there is a string in the package sources with "deb-src" for nginx. Open (or create) target file from sources.list.d/ nano /etc/apt/sources.list.d/nginx.li...