Revert "Remove nginx-common package"
authorMichael Brown <supermathie@gmail.com>
Thu, 9 Apr 2020 18:54:01 +0000 (14:54 -0400)
committerMichael Brown <supermathie@gmail.com>
Thu, 9 Apr 2020 18:54:01 +0000 (14:54 -0400)
This reverts commit 30e0c58d1dd851a00bf7decc6182e3948c10a545.

* turns out we do depend on the default nginx.conf and directories provided by the distribution package
* notably /etc/nginx.conf and /etc/nginx/conf.d

image/base/install-nginx

index 1b68e554e86bb208feafa2d345b4246be9b78038..0211234238d71b6995bc277937e91b7d7acc47cd 100755 (executable)
@@ -21,8 +21,8 @@ echo "$HASH nginx-$VERSION.tar.gz" | sha256sum -c
 tar zxf nginx-$VERSION.tar.gz
 cd nginx-$VERSION
 
-# build dependencies
-apt install -y libpcre3 libpcre3-dev zlib1g zlib1g-dev
+# nginx-common for boilerplate files etc.
+apt install -y nginx-common libpcre3 libpcre3-dev zlib1g zlib1g-dev
 
 cd /tmp
 # this is the reason we are compiling by hand...