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

33 lines
1002 B
Markdown
Raw Normal View History

2026-09-10 16:59:11 +03:00
nginx 1.31.3
=
https://github.com/nginx/nginx/releases/download/release-1.31.3/nginx-1.31.3.tar.gz
``` sh *** build ***
./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
```
``` sh *** config ***
mkdir -p var/tmp
groupadd -r nginx
useradd -r -g nginx -s /sbin/nologin -d /nonexistent -c "Nginx web server" nginx
```