Skip to content

Commit ffa9001

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Minor tweaks [Deployment] - More accurate local .env file recommendation
2 parents 93b7612 + 1c163d0 commit ffa9001

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

deployment.rst

+6-5
Original file line numberDiff line numberDiff line change
@@ -134,17 +134,18 @@ B) Configure your Environment Variables
134134
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135135

136136
Most Symfony applications read their configuration from environment variables.
137-
While developing locally, you'll usually store these in ``.env`` and ``.env.local``
138-
(for local overrides). On production, you have two options:
137+
While developing locally, you'll usually store these in :ref:`.env files <configuration-env-var-in-dev>`.
138+
On production, you have two options:
139139

140140
1. Create "real" environment variables. How you set environment variables, depends
141141
on your setup: they can be set at the command line, in your Nginx configuration,
142142
or via other methods provided by your hosting service;
143143

144-
2. Or, create a ``.env.local`` file like your local development.
144+
2. Or, create a ``.env.prod.local`` file that contains values specific to your
145+
production environment.
145146

146-
There is no significant advantage to either of the two options: use whatever is
147-
most natural in your hosting environment.
147+
There is no significant advantage to either option: use whichever is most natural
148+
for your hosting environment.
148149

149150
.. tip::
150151

0 commit comments

Comments
 (0)