Skip to content

Commit 885d082

Browse files
committed
minor #16394 Update configuration.rst to avoid misunderstanding (mertingen)
This PR was submitted for the 6.0 branch but it was merged into the 4.4 branch instead. Discussion ---------- Update configuration.rst to avoid misunderstanding We shouldn't deploy the ".env.local" file for the production environment variables. We just need to add the ".env" file into Git and manually create a new ".env.local" file on the production machine. In the old expression says, "deploying" and it might be a misunderstanding in this way. I changed it to "creating". Old expression: In production, the ``.env`` files are also parsed and loaded on each request. So the easiest way to define env vars is by deploying a ``.env.local`` file to your production server(s) with your production values. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- c53d770 Update configuration.rst to aviod misunderstanding
2 parents 4f76354 + c53d770 commit 885d082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ Configuring Environment Variables in Production
688688
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
689689

690690
In production, the ``.env`` files are also parsed and loaded on each request. So
691-
the easiest way to define env vars is by deploying a ``.env.local`` file to your
691+
the easiest way to define env vars is by creating a ``.env.local`` file on your
692692
production server(s) with your production values.
693693

694694
To improve performance, you can optionally run the ``dump-env`` command (available

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy