Skip to content

Conversation

@ultrafunkamsterdam
Copy link

Thanks for this nice script, which i'm actually using quite a lot.
I just added the echo module for my own usage. Here is the pr in case you are interested.

@angristan
Copy link
Owner

Thanks, please format the script with shfmt -s -w nginx-autoinstall.sh and add the module to the README list 🙏

ultrafunkamsterdam and others added 27 commits June 24, 2021 09:22
Since the quiche repository refactor in commit [#bbe6e2a](cloudflare/quiche@bbe6e2a) path for boringssl needs an update
I tried to recreate your [#f0f8714](angristan@f0f8714) just the opposite way.
Remove duplicate "RTMP=${RTMP:-n}".
Added cache modules.
Removed duplicate subfilter.
Reconstructured setmisc.
Added echo-nginx-module.
Fixed  echo-nginx-module tarball path.
- Updated wrapper.sh for Cache modules
- Removed duplicates (RTMP,SUBFILTER)
- Added lua-resty-core & lua-resty-lrucache.
- Updated lua-nginx & luajit2
- Added license authentication to download GeoLite2.
- Added ASN database
- added crontab for geoipupdate
  - This adds GeoIP.conf to /usr/local/etc with credentials
- Added change main to main contrib in /etc/apt/sources.list (to install geoipupdate from APT)
- Added credentials to headless install
- Switched repo for GeoIP.conf
- Moved options and modules to headless with default options/modules.
Moved default versions/options & modules out of headless=y to fix non-headless install.
nginx-1.22.0 stable version has been released, incorporating new features and bug fixes from the 1.21.x mainline branch  — including hardening against potential requests smuggling and cross-protocol attacks, ALPN support in the stream module, better distribution of connections among worker processes on Linux, support for the PCRE2 library, support for OpenSSL 3.0 and SSL_sendfile(), improved sendfile handling on FreeBSD, the mp4_start_key_frame directive, and more.

HEADLESS=y \
NGINX_VER=STABLE \
BROTLI=y \
HEADERMOD=y \
MODSEC=n \
MODSEC_ENABLE=n \
bash /root/nginx-autoinstall.sh

nginx version: nginx/1.22.0
built by gcc 10.2.1 20210110 (Debian 10.2.1-6) 
built with OpenSSL 1.1.1n  15 Mar 2022
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --user=nginx --group=nginx --with-cc-opt=-Wno-deprecated-declarations --with-cc-opt=-Wno-ignored-qualifiers --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_mp4_module --with-http_auth_request_module --with-http_slice_module --with-http_stub_status_module --with-http_realip_module --with-http_sub_module --add-module=/usr/local/src/nginx/modules/ngx_brotli --add-module=/usr/local/src/nginx/modules/headers-more-nginx-module-0.33
dependabot bot and others added 20 commits January 1, 2025 20:29
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Since the quiche repository refactor in commit [#bbe6e2a](cloudflare/quiche@bbe6e2a) path for boringssl needs an update
I tried to recreate your [#f0f8714](angristan@f0f8714) just the opposite way.
Remove duplicate "RTMP=${RTMP:-n}".
- Updated wrapper.sh for Cache modules
- Removed duplicates (RTMP,SUBFILTER)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants