Node.js based forum software built for the modern web
closed #1744
Julian Lamb3e04ed2bc60
diff --git a/docs/configuring/proxies/nginx.rst b/docs/configuring/proxies/nginx.rstindex 26c58a433f..7ba5c91773 100644--- a/docs/configuring/proxies/nginx.rst+++ b/docs/configuring/proxies/nginx.rst@@ -54,6 +54,7 @@ Below is the basic nginx configuration for a NodeBB build running on port ``4567Notes------------+* Remember to also edit `config.json` and change `use_port` from `true` to `false`* nginx must be on version 1.4.x to properly support websockets. Debian/Ubuntu use 1.2, although it will work there will be a reduction in functionality.* The ``proxy_pass`` IP should be ``127.0.0.1`` if your NodeBB is hosted on the same physical server as your nginx server. Update the port to match your NodeBB, if necessary.* This config sets up your nginx server to listen to requests for ``forum.example.org``. It doesn't magically route the internet to it, though, so you also have to update your DNS server to send requests for ``forum.example.org`` to the machine with nginx on it!\ No newline at end of filediff --git a/docs/installing/cloud/heroku.rst b/docs/installing/cloud/heroku.rstindex a5e6c22dbe..736254999d 100644--- a/docs/installing/cloud/heroku.rst+++ b/docs/installing/cloud/heroku.rst@@ -10,13 +10,12 @@ Heroku5. ``cd /path/to/repo/clone``6. Install dependencies locally ``npm install``7. Create the heroku app: ``heroku create``-8. Enable WebSocket support (beta): ``heroku labs:enable websockets -a {APP_NAME}``, where ``{APP_NAME}`` is provided by Heroku, and looks something like ``adjective-noun-wxyz.herokuapp.com`` (NOTE: `See this doc <https://discussion.heroku.com/t/application-error/160>`_): drop the `.herokuapp.com` when entering ``{APP_NAME}`` above.+8. Enable WebSocket support (beta): ``heroku labs:enable websockets -a {APP_NAME}``, where ``{APP_NAME}`` is provided by Heroku, and looks something like ``adjective-noun-wxyz.herokuapp.com`` (NOTE: `See this doc <https://discussion.heroku.com/t/application-error/160>`_): drop the `.herokuapp.com` when entering ``{APP_NAME}`` above.9. Enable `Redis To Go <https://addons.heroku.com/redistogo>`_ for your heroku account: ``heroku addons:add redistogo:nano``10. Run the NodeBB setup script: ``node app --setup`` (information for your Heroku server and Redis to Go instance can be found in your account page)* Your server name is found in your Heroku app's "settings" page, and looks something like ``adjective-noun-wxyz.herokuapp.com``* Use any port number. It will be ignored.- * Specify "n" when asked if a port will be used. Heroku transparently proxies all requests.* Your redis server can be found as part of the redis url. For example, for the url: ``redis://redistogo:[email protected]:12345/``* The server is ``fishyfish.redistogo.com``* The port is ``12345``