NGINX Ruby
NGINX Ruby
The NGINX Ruby stack combines the open-source NGINX web server with a preinstalled Ruby runtime. It uses Passenger by default and can be reconfigured to run Puma or Unicorn.
NGINX Ruby Overview
NGINX Ruby is suitable for Ruby applications that require scalability, security, reliability, and cost-efficient resource use. The stack can be provisioned through the environment topology wizard in a few steps.
Initialization system
The NGINX Ruby template uses the modern systemd initialization daemon.
HTTP/3 Support
The NGINX Ruby stack is HTTP/3-ready with support enabled by default from NGINX 1.16.1 for Ruby 2.4.9, 2.5.7, 2.6.5, 2.7.0, and later supported releases.
Public IP required
A public IP address is required for direct HTTP/3 access because the platform Shared Load Balancer must be bypassed.
Create an NGINX Ruby Environment
Open the environment wizard
Click New Environment in the upper-left part of the platform dashboard.

Select NGINX Ruby
Open the Ruby tab and choose NGINX Ruby as the application server. Add any other software stacks required by the application.

Configure the environment
Select the Ruby engine version and adjust the resource limit, node count, public IP addresses, region, environment name, and other required settings.
Create the environment
Click Create. The NGINX Ruby environment is provisioned and displayed in the dashboard.
Verify the Environment
After provisioning completes, confirm that the NGINX Ruby layer is running in the dashboard. The environment is then ready for Ruby application deployment.

Application-Server Modules
Passenger is enabled by default. The NGINX Ruby configuration can be changed to use Puma or Unicorn when another processing model is better suited to the application.
Module switching
Only one application-server module should be enabled in the NGINX configuration at a time. Enabling several modules can cause compatibility errors.
Expected Result
A managed NGINX Ruby environment is created with the selected Ruby version, resource limits, node count, networking, and supporting stacks. Passenger is enabled by default, and the server is ready for Ruby application deployment.
Important Notes
- A public IP is required for direct HTTP/3 access.
- Passenger is the default NGINX Ruby application-server module.
- Puma and Unicorn are available as alternative modules.
- Only one application-server module should be active at a time.
- Check the current Ruby and NGINX versions before production deployment.
- Use the deployment guide to upload an archive or connect a version-control repository.
