Files
AeroPkg/assets/var/gnu/nginx.md

1002 B

nginx 1.31.3

https://github.com/nginx/nginx/releases/download/release-1.31.3/nginx-1.31.3.tar.gz

./configure \
    --prefix=$pkgpath \
    --with-http_ssl_module \
    --with-http_v2_module \
    --with-http_sub_module \
    --conf-path=$pkgpath/etc/nginx.conf \
    --sbin-path=$pkgpath/bin/nginx \
    --error-log-path=$pkgpath/var/log/error.log \
    --http-log-path=$pkgpath/var/log/access.log \
    --pid-path=$pkgpath/var/run/nginx.pid \
    --lock-path=$pkgpath/var/lock/nginx.lock \
    --http-client-body-temp-path=$pkgpath/var/tmp/client_body \
    --http-proxy-temp-path=$pkgpath/var/tmp/proxy \
    --http-fastcgi-temp-path=$pkgpath/var/tmp/fastcgi \
    --http-uwsgi-temp-path=$pkgpath/var/tmp/uwsgi \
    --http-scgi-temp-path=$pkgpath/var/tmp/scgi \
    --user=nginx \
    --group=nginx
make -j$(nproc)
make install
mkdir -p var/tmp
groupadd -r nginx
useradd -r -g nginx -s /sbin/nologin -d /nonexistent -c "Nginx web server" nginx