Nginx/Passenger: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
|valign='top' style='width:50%'|
|valign='top' style='width:50%'|
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
sudo apt-get update;echo
cat <<'EXE' | sudo bash
sudo apt install -y nginx
apt-get update;echo
apt-get install -y nginx
nginx -v;echo
apt-get clean
EXE
</syntaxhighlight>
</syntaxhighlight>



Revision as of 14:17, 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
lxc snapshot passenger ubuntu:24.04
lxc restore  passenger ubuntu:24.04
lxc exec     passenger -- bash

References

References