# /etc/apache2/sites-available/meteorjs.conf
Listen 8088
<VirtualHost *:8088>
#ServerName <HOST>
#ServerAdmin john@example.com
PassengerAppType node
PassengerStartupFile main.js
SetEnv MONGO_URL mongodb://localhost:27017/meteorjs
SetEnv ROOT_URL http://<HOST>
PassengerAppRoot <DOCUMENT_ROOT>/bundle
DocumentRoot <DOCUMENT_ROOT>/bundle/public
<Directory "<DOCUMENT_ROOT>/bundle/public">
Allow from all
Options -MultiViews
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>