summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorAndy Wingo <wingo@igalia.com>2017-04-27 19:49:02 +0200
committerAndy Wingo <wingo@igalia.com>2017-04-27 20:24:33 +0200
commitb56b797e2ca26619485d874110d3f1f0ae96fba4 (patch)
tree8b5206ca421e58a3972cdc8693dcfb0041fd86f3 /scripts
parent6373cddf420a0f9ae69158839c4ef886295ed5fc (diff)
downloadguix-b56b797e2ca26619485d874110d3f1f0ae96fba4.tar.gz
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.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions