Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,8 @@ The following example shows how to specify two locations:

TIP: Use the prefix `optional:` if the <<boot-features-external-config-optional-prefix,locations are optional>> and you don't mind if they don't exist.

WARNING: `spring.config.name` and `spring.config.location` are used very early to determine which files have to be loaded.
WARNING: `spring.config.name`, `spring.config.location`, and `spring.config.additional-location` are used very early to
determine which files have to be loaded.
They must be defined as an environment property (typically an OS environment variable, a system property, or a command-line argument).

If `spring.config.location` contains directories (as opposed to files), they must end in `/` or the system-dependent `File.separator`.
Expand Down