Nginx/Passenger: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 121: Line 121:


|valign='top' style='width:34%'|
|valign='top' style='width:34%'|
* [https://www.phusionpassenger.com/docs/advanced_guides/install_and_upgrade/nginx/install/oss/noble.html Passenger » Nginx » Install » Ubuntu » 24.04]
* [https://www.phusionpassenger.com/docs/advanced_guides/install_and_upgrade/nginx/install/oss/jammy.html Passenger » Nginx » Install » Ubuntu » 22.04]
* [https://www.phusionpassenger.com/docs/advanced_guides/install_and_upgrade/nginx/install/oss/focal.html Passenger » Nginx » Install » Ubuntu » 20.04]


|valign='top' style='width:33%'|
|valign='top' style='width:33%'|

Revision as of 15:59, 6 February 2026

cat <<'EXE' | sudo bash
apt-get update;echo
apt-get install -y nginx
nginx -v;echo
apt-get clean
EXE

Diagram

Passenger » Why

Passenger » Why

Feature Nginx + Passenger Nginx + Puma
Ease of Setup High (Single config file) Medium (Need to manage Puma service)
Process Management Automatic (Spawns/restarts apps) Manual (Requires Systemd or Monit)
Memory Management Excellent (Auto-kills bloated processes) Good (Manual tuning required)
Multi-Language Supports Ruby, Python, Node.js Ruby only

Passenger » How

Passenger » How

Passenger » Install

lxc launch ubuntu:24.04 passenger   && sleep 5
lxc snapshot passenger ubuntu:24.04 && sleep 1
lxc restore  passenger ubuntu:24.04 && sleep 5
lxc exec     passenger -- bash

References

References