nginx-cn/config
modeco80 1be51ac906 Completely revamp installation script
Instead of cluttering the $PREFIX during build (and requiring root to do so),
we now install everything into a temporary directrory that is copied in piecemeal
to the prefix). Additionally, the installer will now, on a fresh installation only,
copy the base config files from /conf to $PREFIX/etc/nginx. A existing installation
will not have this performed (unlike the upstream nginx installation rules), so your
configuration will be safe.
2024-09-16 00:51:47 -04:00

13 lines
449 B
Text

# Shared configuration for build/install scripts
# Installation prefix. unfortunately we have to vendor
# certain dependencies (luajit) for OpenResty,
# so this /opt path is going to unfortunately stick
# Change to what you like I suppose, but make sure to update the systemd files..
PREFIX="/opt/nginx"
TOP="$(pwd)"
# The staging prefix used to install everything before actually installing it to
# $PREFIX.
INSTALL_PREFIX="${TOP}/install_root"