From 518090f900b4183fb65f84c0309f3661e1e8390a Mon Sep 17 00:00:00 2001 From: LEGO Technix <109212476+lego-technix@users.noreply.github.com> Date: Mon, 20 Feb 2023 11:03:29 +0100 Subject: [PATCH] doc: document new nginx env variables introduced in pix-7084-add-geolocation-endpoint --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 45e238481..b47611001 100755 --- a/README.md +++ b/README.md @@ -74,6 +74,32 @@ If not present, Metabase cards will not be loaded. - type: String - default: none +--- + +`NGINX_GEOAPI_UPSTREAM_HOST` +Host name of the GEOAPI service that is providing the "/me" endpoint. +This variable is used only in the nginx configuration. +If not present, nginx will start and stop in error with message "nginx: [emerg] no host in upstream". + +- presence: required +- type: String +- default: none + +`NGINX_GEOAPI_UPSTREAM_MAX_FAILS` +This variable is used only in the nginx configuration. + +- presence: optional +- type: Number +- default: 3 + +`NGINX_GEOAPI_UPSTREAM_FAIL_TIMEOUT` +This variable is used only in the nginx configuration. + +- presence: optional +- type: String +- default: 5s + + ## Build Setup En dev, copier le fichier `sample.env` vers un `.env` et remplacer les valeurs.