File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,15 @@ 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
+ Nginx is also available on Heroku. If you prefer to use it, you can create a
112
+ Nginx config file (``nginx_app.conf `` for instance) to point from Procfile as described in `Heroku docs `_:
113
+
114
+ .. code-block :: text
115
+
116
+ web: bin/heroku-php-nginx -C nginx_app.conf web/
117
+
109
118
If you prefer working on the command console, execute the following commands to
110
119
create the ``Procfile `` file and to add it to the repository:
111
120
@@ -244,3 +253,4 @@ You should be seeing your Symfony application in your browser.
244
253
.. _`verified that the RSA key fingerprint is correct` : https://devcenter.heroku.com/articles/git-repository-ssh-fingerprints
245
254
.. _`post-install-commands` : https://getcomposer.org/doc/articles/scripts.md
246
255
.. _`config vars` : https://devcenter.heroku.com/articles/config-vars
256
+ .. _`Heroku docs` : https://devcenter.heroku.com/articles/custom-php-settings#nginx
You can’t perform that action at this time.
0 commit comments