mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
Minor tweaks
This commit is contained in:
@@ -134,16 +134,18 @@ B) Configure your Environment Variables
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Most Symfony applications read their configuration from environment variables.
|
||||
While developing locally, you'll usually store these in :ref:`.env files <configuration-env-var-in-dev>`. On production, you have two options:
|
||||
While developing locally, you'll usually store these in :ref:`.env files <configuration-env-var-in-dev>`.
|
||||
On production, you have two options:
|
||||
|
||||
1. Create "real" environment variables. How you set environment variables, depends
|
||||
on your setup: they can be set at the command line, in your Nginx configuration,
|
||||
or via other methods provided by your hosting service;
|
||||
|
||||
2. Or, create a ``.env.prod.local`` file containing values specific to your production environment.
|
||||
2. Or, create a ``.env.prod.local`` file that contains values specific to your
|
||||
production environment.
|
||||
|
||||
There is no significant advantage to either of the two options: use whatever is
|
||||
most natural in your hosting environment.
|
||||
There is no significant advantage to either option: use whichever is most natural
|
||||
for your hosting environment.
|
||||
|
||||
.. tip::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user