File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Original file line number Diff line number Diff line change @@ -106,6 +106,16 @@ directory of the application and add just the following content:
106
106
107
107
web: bin/heroku-php-apache2 web/
108
108
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
+
109
119
If you prefer working on the command console, execute the following commands to
110
120
create the ``Procfile `` file and to add it to the repository:
111
121
@@ -329,3 +339,4 @@ This is also very useful to build assets on the production system, e.g. with Ass
329
339
.. _`multiple buildpack` : https://github.com/ddollar/heroku-buildpack-multi.git
330
340
.. _`Grunt` : http://gruntjs.com
331
341
.. _`gulp` : http://gulpjs.com
342
+ .. _`Heroku documentation` : https://devcenter.heroku.com/articles/custom-php-settings#nginx
You can’t perform that action at this time.
0 commit comments