Nginx/Passenger: Difference between revisions
Jump to navigation
Jump to search
| (4 intermediate revisions by the same user not shown) | |||
| Line 113: | Line 113: | ||
|valign='top'| | |valign='top'| | ||
{|class='wikitable mw-collapsible mw-collapsed' | {|class='wikitable mw-collapsible mw-collapsed' | ||
!scope='col' style='text-align:left' colspan='2'| | !scope='col' style='text-align:left' colspan='2'| How » Install | ||
How » Install | |||
|- | |- | ||
|valign='top' style='width:50%'| | |valign='top' style='width:50%'| | ||
| Line 181: | Line 180: | ||
|} | |} | ||
{|class='wikitable mw-collapsible' | {|class='wikitable mw-collapsible' | ||
!scope='col' style='text-align:left' colspan='2'| | !scope='col' style='text-align:left' colspan='2'| How » Config | ||
How » Config | |||
|- | |- | ||
|valign='top' colspan='2'| | |valign='top' colspan='2'| | ||
| Line 226: | Line 224: | ||
passenger-config validate-install --auto;echo | passenger-config validate-install --auto;echo | ||
passenger-memory-stats --no-apache;echo | passenger-memory-stats --no-apache;echo | ||
passenger-config about ruby-command | passenger-config about ruby-command;echo | ||
passenger-status | |||
EXE | EXE | ||
INI | INI | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
{|class='wikitable mw-collapsible mw-collapsed' | {|class='wikitable mw-collapsible mw-collapsed' | ||
!scope='col' style='text-align:left'| | !scope='col' style='text-align:left'| How » Nginx | ||
How » | |||
|- | |- | ||
|valign='top'| | |valign='top'| | ||
| Line 259: | Line 256: | ||
ssl_protocols TLSv1.2 TLSv1.3; | ssl_protocols TLSv1.2 TLSv1.3; | ||
passenger_spawn_method smart; | passenger_spawn_method smart; | ||
passenger_min_instances 3; | passenger_min_instances 3; | ||
| Line 270: | Line 267: | ||
gzip_buffers 64 8k; | gzip_buffers 64 8k; | ||
gzip_disable "msie6"; | gzip_disable "msie6"; | ||
gzip_types text/css text/xml application/x-javascript application/atom+xml text/mathml text/plain text/vnd.sun.j2me.app-descriptor text/vnd.wap.wml text/x-component image/bmp image/svg+xml image/x-icon; | gzip_types text/css text/xml application/x-javascript application/atom+xml text/mathml text/plain text/vnd.sun.j2me.app-descriptor text/vnd.wap.wml text/x-component image/bmp image/svg+xml image/x-icon; | ||
root /home/deploy/sites/academia.chorke.org/production/current/public; | root /home/deploy/sites/academia.chorke.org/production/current/public; | ||
Latest revision as of 23:29, 7 February 2026
| |||
cat <<'EXE' | sudo bash
apt-get update;echo
apt-get install -y nginx libnginx-mod-http-passenger
/usr/bin/passenger_free_ruby -v
which passenger;echo
passenger version
apt-get clean
EXE
|
|||
| |||
Passenger » Why
|
Passenger » Why | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||
Passenger » How
|
Passenger » How | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
References
|
References | ||
|---|---|---|