diff options
author | Andy Wingo <wingo@igalia.com> | 2017-04-27 19:49:02 +0200 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2017-08-17 18:32:23 +0100 |
commit | c9aa261be48a2463022faf5bea1854503a5ba7d7 (patch) | |
tree | b4aa57ab1f2e9cd9834b99a6cbc05541e34951ef /nix | |
parent | e9a599cdce9998973e30e3e1d28d1dad072ec8d5 (diff) |
gnu: services: Nginx configs can reference store
* gnu/services/web.scm (config-domain-strings, config-index-strings): Emit
lists instead of strings.
(emit-nginx-location-config, emit-nginx-server-config)
(emit-nginx-upstream-config): Rename from nginx-location-config,
default-nginx-server-config, and nginx-upstream-config. Emit lists instead of
strings.
(flatten): New helper.
(default-nginx-config): Use flatten helper to write nginx conf. This allows
location configs to reference store values.
Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions