File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed 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
@@ -244,3 +254,4 @@ You should be seeing your Symfony application in your browser.
244
254
.. _`verified that the RSA key fingerprint is correct` : https://devcenter.heroku.com/articles/git-repository-ssh-fingerprints
245
255
.. _`post-install-commands` : https://getcomposer.org/doc/articles/scripts.md
246
256
.. _`config vars` : https://devcenter.heroku.com/articles/config-vars
257
+ .. _`Heroku documentation` : https://devcenter.heroku.com/articles/custom-php-settings#nginx
You can’t perform that action at this time.
0 commit comments