Custom Nginx Repository for WordPress Sites
Public Release Notice: This repository is currently in final testing and will be publicly available starting March 20, 2025. The installation instructions below will be active once the repository is released.
Welcome to the YooWP custom Nginx repository, providing optimized Nginx packages for WordPress hosting. Our builds include advanced features such as HTTP/3 (QUIC) support, Brotli compression, and on-the-fly WebP image conversion to enhance performance and user experience.
Installation Instructions
1. Add the YooWP Nginx Repository
Create a new repository file:
sudo nano /etc/yum.repos.d/yoowp-nginx.repo
Add the following content:
[yoowp-nginx]
name=YooWP Nginx Repository for Rocky Linux 9
baseurl=https://nginx.run/packages/rocky/el9/x86_64/
gpgcheck=0
enabled=1
priority=10
The priority=10
setting ensures that packages from this repository will be preferred over the default repositories.
2. Install the Custom Nginx Package
sudo dnf clean all
sudo dnf install nginx
Note: Our package will automatically replace the standard Nginx package due to the priority settings.
3. Start and Enable Nginx
sudo systemctl start nginx
sudo systemctl enable nginx
4. Verify Installation
nginx -V
You should see our custom version with HTTP/3 and other optimizations enabled.
5. Ensuring YooWP Nginx is Used
To ensure that your system always uses our optimized Nginx version instead of the default one:
- Install the DNF priorities plugin if not already installed:
sudo dnf install dnf-plugins-core
- Check that your YooWP Nginx is the one installed:
nginx -v
The output should include YooWP custom build
in the version info.
- Prevent updates from standard repositories:
sudo dnf config-manager --save --setopt=exclude=nginx*
This ensures that only our repository can provide Nginx updates.
Key Features
- HTTP/3 Support - Latest protocol for improved performance, especially on mobile networks
- Integrated WebP Conversion - On-the-fly image optimization with built-in image_filter module
- Brotli Compression - More efficient than gzip (10-20% better compression)
- WordPress Optimizations - Configuration templates optimized for WordPress sites
- Cache Management - Includes cache purging capabilities for better performance
Configuration
Our Nginx package follows EL9 standards with configuration files located in standard directories:
- Main configuration:
/etc/nginx/nginx.conf
- Site configurations:
/etc/nginx/conf.d/*.conf
- Default includes:
/etc/nginx/default.d/*.conf
We provide WordPress-optimized configuration templates that you can copy and customize for your sites.
Disclaimer and License
Note: YooWP is not affiliated with, endorsed by, or sponsored by Nginx, Inc. or F5, Inc. This repository provides customized builds of Nginx with additional modules and optimizations specifically for WordPress hosting.
Nginx ("engine x") is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy server, and mail proxy server. Originally written by Igor Sysoev and distributed under the 2-clause BSD License. Enterprise distributions, commercial support and training are available from F5, Inc.
License
/*
* Copyright (C) 2002-2021 Igor Sysoev
* Copyright (C) 2011-2025 Nginx, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
Nginx® is a registered trademark of F5 Networks, Inc. All rights reserved. YooWP provides this package as a custom-built version with additional modules and optimizations, but does not claim any ownership or rights to the Nginx software or brand.
Legal Notice: This project is provided "as is" without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. YooWP makes no claims or representations about the performance or suitability of this software for any particular purpose. Users are solely responsible for determining the appropriateness of using this software and assume all risks associated with its use.
About YooWP
YooWP specializes in creating optimized WordPress hosting solutions with a focus on performance, security, and ease of use. Our custom Nginx builds are part of our commitment to enhancing the WordPress ecosystem with state-of-the-art web server technology.
For more information or support, please contact us at [email protected]