Skip to content

Commit

Permalink
doc: document new nginx env variables introduced in pix-7084-add-geol…
Browse files Browse the repository at this point in the history
…ocation-endpoint
  • Loading branch information
lego-technix committed Feb 20, 2023
1 parent ba10536 commit 518090f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 518090f

Please sign in to comment.