Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b329b2c

Browse filesBrowse files
committed
feature symfony#5216 [Cookbook] [Deployment] Added note about Nginx (phansys)
This PR was merged into the 2.3 branch. Discussion ---------- [Cookbook] [Deployment] Added note about Nginx | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3+ | Fixed tickets | Commits ------- 751d0df [Cookbook] [Deployment] Added note about Nginx setup
2 parents 05ec0f9 + 751d0df commit b329b2c
Copy full SHA for b329b2c

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed

‎cookbook/deployment/heroku.rst

Copy file name to clipboardExpand all lines: cookbook/deployment/heroku.rst
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,16 @@ directory of the application and add just the following content:
106106
107107
web: bin/heroku-php-apache2 web/
108108
109+
.. note::
110+
111+
If you prefer to use Nginx, which is also available on Heroku, you can create
112+
a configuration file for it and point to it from your Procfile as described
113+
in the `Heroku documentation`_:
114+
115+
.. code-block:: text
116+
117+
web: bin/heroku-php-nginx -C nginx_app.conf web/
118+
109119
If you prefer working on the command console, execute the following commands to
110120
create the ``Procfile`` file and to add it to the repository:
111121

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.