Skip to content

Commit

Permalink
[Cookbook] [Deployment] Added note about Nginx setup
Browse files Browse the repository at this point in the history
| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets |
  • Loading branch information
phansys committed May 6, 2015
1 parent fa90e24 commit 751d0df
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cookbook/deployment/heroku.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@ directory of the application and add just the following content:
web: bin/heroku-php-apache2 web/
.. note::

If you prefer to use Nginx, which is also available on Heroku, you can create
a configuration file for it and point to it from your Procfile as described
in the `Heroku documentation`_:

.. code-block:: text
web: bin/heroku-php-nginx -C nginx_app.conf web/
If you prefer working on the command console, execute the following commands to
create the ``Procfile`` file and to add it to the repository:

Expand Down Expand Up @@ -329,3 +339,4 @@ This is also very useful to build assets on the production system, e.g. with Ass
.. _`multiple buildpack`: https://github.com/ddollar/heroku-buildpack-multi.git
.. _`Grunt`: http://gruntjs.com
.. _`gulp`: http://gulpjs.com
.. _`Heroku documentation`: https://devcenter.heroku.com/articles/custom-php-settings#nginx

0 comments on commit 751d0df

Please sign in to comment.