modeco80
1be51ac906
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.
16 lines
385 B
Markdown
16 lines
385 B
Markdown
# `nginx-cn`
|
|
|
|
Our build of NGINX used on computernewb
|
|
|
|
Essentially, this is OpenResty core (and a few Lua modules we actually use), and several other useful modules.
|
|
|
|
# Build/installaction instructions
|
|
|
|
```bash
|
|
$ git clone --recursive https://git.computernewb.com/nginx-cn
|
|
$ cd nginx-cn
|
|
$ ./build
|
|
# sudo ./install
|
|
# ... (adjust the configuration base to suit your needs)
|
|
# profit?
|
|
```
|