Send 404 if application not found (#960)
Send 404 if application not found and `spring.cloud.config.server.accept-emtpy=true` Fixes gh-155
This commit is contained in:
committed by
Spencer Gibb
parent
e049cfd818
commit
c70bca5149
@@ -105,6 +105,7 @@ If there are profile-specific YAML (or properties) files, these are also applied
|
||||
Higher precedence translates to a `PropertySource` listed earlier in the `Environment`.
|
||||
(These same rules apply in a standalone Spring Boot application.)
|
||||
|
||||
You can set spring.cloud.config.server.accept-empty to false so that Server would return a HTTP 404 status, if the application is not found.By default, this flag is set to true.
|
||||
==== Git Backend
|
||||
|
||||
The default implementation of `EnvironmentRepository` uses a Git backend, which is very convenient for managing upgrades and physical
|
||||
|
||||
Reference in New Issue
Block a user