Dockerhub: rezallion/openresty-full-solution
Github: https://github.com/RezaImany/openresty-full-solution
This repository provides a comprehensive OpenResty-based solution, combining the power of OpenResty, Nginx, OpenSSL, and Pagespeed Incubator, all conveniently containerized for your usage. Whether you're building a private Content Delivery Network (CDN), optimizing web performance, securing links, or enhancing content delivery, this project offers an all-in-one solution for your needs.
-
OpenResty: Leveraging the power of OpenResty, this project integrates Nginx with a range of additional modules, making it a versatile and high-performance web server.
-
Nginx: The popular web server, Nginx, is at the core of this solution, providing fast and efficient delivery of web content.
-
OpenSSL: Security is paramount, and this project includes OpenSSL to ensure secure communication and data integrity.
-
Pagespeed Incubator: Enhance web performance with Pagespeed Incubator. Minify, optimize, and rewrite JavaScript, CSS, and HTML for faster loading times. Additionally, improve image delivery by optimizing and rewriting images, ensuring a seamless user experience.
-
Luarocks: With LuaRocks, you can easily install additional modules to extend and customize your OpenResty setup.
-
Private CDN: Build a production-ready private CDN to deliver content quickly and securely.
-
Web Performance Optimization: Implement Pagespeed Incubator to minify and rewrite JavaScript, CSS, and HTML for enhanced loading speeds.
-
Image Optimization: Utilize Pagespeed Incubator to optimize and rewrite images for better image delivery.
-
Secure Links: Implement secure links for controlled access to your resources.
This project aims to simplify the deployment and configuration of a powerful web server stack, providing all the essential tools for improving web performance, security, and customization. For more information on the referenced components used in this project, check the links below:
-
Pagespeed Incubator: Pagespeed Incubator Documentation
-
OpenResty: OpenResty Official Website
-
Nginx: Nginx Official Website
-
OpenSSL: OpenSSL Official Website
-
Luarocks: Luarocks Official Website
Before you begin, ensure you have met the following requirements:
- You must build this docker on x86_64 CPUs (you cant build this image on Apple silicon Processors).
- You need to install Docker and docker-compose on your server.
Clone the repository to your local machine and easily run docker build commmand
You can use Docker-compose file which provided in this repo and run it with prebuilt image in docker hub with dokcer-compose up -d
# Example usage command
docker-compose up -d