-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Running Etherpad on Phusion Passenger
Michal Stanke edited this page Oct 6, 2020
·
2 revisions
Etherpad can be run on the Phusion Passenger application server for Node.js. Phusion Passenger 4.0.48 or later is required.
Add an Nginx virtual host as follows:
server {
listen 80;
server_name www.yourdomain.com;
# Tells Phusion Passenger where Etherpad and its static files are.
root /path-to-etherpad/src/static;
passenger_app_root /path-to-etherpad;
# Enables Phusion Passenger and tells it that it's a Node.js app.
passenger_enabled on;
passenger_app_type node;
passenger_startup_file node_modules/ep_etherpad-lite/node/server.js;
}
At this time, it is not possible to run Etherpad on Phusion Passenger for Apache, because there are some problems with WebSockets. Please use Phusion Passenger for Nginx or Phusion Passenger Standalone instead.
You need to pass --app-type node --experimental-worker --startup-file node_modules/ep_etherpad-lite/node/server.js
to Phusion Passenger Standalone. Here is an example, which starts Etherpad in Phusion Passenger Standalone on port 9001:
cd /path-to-etherpad
passenger start --app-type node --experimental-worker --startup-file node_modules/ep_etherpad-lite/node/server.js --port 9001
- Docs
- Translating
- HTTP API
- Plugin framework (API hooks)
- Plugins (available)
- Plugins (list)
- Plugins (wishlist)
- Etherpad URIs / URLs to specific resources IE export
- Etherpad Full data export
- Introduction to the source
- Release Procedure
- Etherpad Developer guidelines
- Project to-do list
- Changeset Library documentation
- Alternative Etherpad-Clients
- Contribution guidelines
- Installing Etherpad
- Deploying Etherpad as a service
- Deploying Etherpad on CloudFoundry
- Deploying Etherpad on Heroku
- Running Etherpad on Phusion Passenger
- Putting Etherpad behind a reverse Proxy (HTTPS/SSL)
- How to setup Etherpad on Ubuntu 12.04 using Ansible
- Migrating from old Etherpad to Etherpad
- Using Etherpad with MySQL
- Customizing the Etherpad web interface
- Enable import/export functionality with AbiWord
- Getting a list of all pads
- Providing encrypted web access to Etherpad using SSL certificates
- Optimizing Etherpad performance including faster page loads
- Getting to know the tools and scripts in the Etherpad /bin/ folder
- Embedding a pad using the jQuery plugin
- Using Embed Parameters
- Integrating Etherpad in a third party app (Drupal, MediaWiki, WordPress, Atlassian, PmWiki)
- HTTP API client libraries