Difference between revisions of "Nginx Passenger"
From Wasya Wiki
(Created page with "From: https://www.phusionpassenger.com/library/install/nginx/install/oss/bionic/ sudo apt-get install -y dirmngr gnupg sudo apt-key adv --keyserver hkp://keyserver.ubuntu...") |
|||
Line 8: | Line 8: | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install -y libnginx-mod-http-passenger | sudo apt-get install -y libnginx-mod-http-passenger | ||
+ | |||
+ | if [ ! -f /etc/nginx/modules-enabled/50-mod-http-passenger.conf ]; then sudo ln -s /usr/share/nginx/modules-available/mod-http-passenger.load /etc/nginx/modules-enabled/50-mod-http-passenger.conf ; fi | ||
+ | |||
+ | Test: | ||
+ | |||
+ | sudo ls /etc/nginx/conf.d/mod-http-passenger.conf |
Revision as of 23:42, 2 November 2022
From: https://www.phusionpassenger.com/library/install/nginx/install/oss/bionic/
sudo apt-get install -y dirmngr gnupg sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7 sudo apt-get install -y apt-transport-https ca-certificates
sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger focal main > /etc/apt/sources.list.d/passenger.list' sudo apt-get update sudo apt-get install -y libnginx-mod-http-passenger
if [ ! -f /etc/nginx/modules-enabled/50-mod-http-passenger.conf ]; then sudo ln -s /usr/share/nginx/modules-available/mod-http-passenger.load /etc/nginx/modules-enabled/50-mod-http-passenger.conf ; fi
Test:
sudo ls /etc/nginx/conf.d/mod-http-passenger.conf