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 5, 2015
1 parent 387ebc0 commit c39f20e
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 @@ -244,3 +254,4 @@ You should be seeing your Symfony application in your browser.
.. _`verified that the RSA key fingerprint is correct`: https://devcenter.heroku.com/articles/git-repository-ssh-fingerprints
.. _`post-install-commands`: https://getcomposer.org/doc/articles/scripts.md
.. _`config vars`: https://devcenter.heroku.com/articles/config-vars
.. _`Heroku documentation`: https://devcenter.heroku.com/articles/custom-php-settings#nginx

0 comments on commit c39f20e

Please sign in to comment.