From d23762e06b9022a174d9bcec4dda243537176b18 Mon Sep 17 00:00:00 2001 From: Shaoxuan Zhang Date: Wed, 17 Jun 2015 17:57:23 -1000 Subject: [PATCH] Update configuration.md Mention replacing `.` with `_` with environment variable override. --- docs/sources/installation/configuration.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/sources/installation/configuration.md b/docs/sources/installation/configuration.md index 28af21ebf89..add1999f714 100644 --- a/docs/sources/installation/configuration.md +++ b/docs/sources/installation/configuration.md @@ -28,14 +28,19 @@ using environment variables using the syntax: GF__ Where the section name is the text within the brackets. Everything -should be upper case. For example, given this configuration setting: +should be upper case, `.` should be replaced by `_`. For example, given these configuration settings: [security] admin_user = admin + + [auth.google] + client_secret = 0ldS3cretKey + Then you can override that using: export GF_SECURITY_ADMIN_USER=true + export GF_AUTH_GOOGLE_CLIENT_SECRET=newS3cretKey