From a0782f73c62f216992de2d60620711dded9046cb Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 31 Jan 2017 19:28:22 -0500 Subject: config-mgmt-nginx: Holo lets me put more of the config here. --- config-mgmt-nginx.PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/config-mgmt-nginx.PKGBUILD b/config-mgmt-nginx.PKGBUILD index 626c8b1..11d62d2 100644 --- a/config-mgmt-nginx.PKGBUILD +++ b/config-mgmt-nginx.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161112 +pkgver=20170131 package() { preamble @@ -7,6 +7,43 @@ preamble depends+=(nginx) +# `fastcgi.conf`, `fastcgi_params`, `scgi_params` and `uwsgi_params` +# have been edited to pass 127.0.0.1 as the client IP address to +# worker processes, to protect user privacy. +add-file -m755 usr/share/holo/files/10-"$pkgname"/etc/nginx/fastcgi.conf.holoscript <