Nginx/Passenger: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 75: Line 75:


|valign='top' style='width:50%'|
|valign='top' style='width:50%'|
|}
==Passenger » How==
{|class='wikitable mw-collapsible'
!scope='col' style='text-align:left'|
Passenger » How
|-
|valign='top'|
{|class='wikitable mw-collapsible mw-collapsed'
!scope='col' style='text-align:left' colspan='2'|
Passenger » Install
|-
|valign='top' style='width:50%'|
<syntaxhighlight lang='bash'>
lxc launch ubuntu:24.04 passenger
lxc snapshot passenger ubuntu:24.04
lxc restore  passenger ubuntu:24.04
lxc exec    passenger -- bash
</syntaxhighlight>
|valign='top' style='width:50%'|
|}
|}
|}



Revision as of 14:13, 6 February 2026

sudo apt-get update;echo
sudo apt install -y nginx

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