freenginx-custom

Iamdoubz custom freenginx config for Ubuntu 22.04. I was tired of forgetting what I used to compile freenginx so I made my own repo.

Enhancements

Dependencies

There are quite a few dependencies to install. The main ones being:

  • build-essential
  • git
  • curl
  • wget
  • cmake
  • libmaxminddb
  • And probably others...

Additional Packages

How to download

Please use the provided script freenginx.sh. Make sure to make it executable first sudo chmod +x freenginx.sh. Then run it with ./freenginx.sh.

Make a backup of your existing binary

Type which nginx and make a copy i.e. sudo cp /usr/sbin/nginx /usr/sbin/nginx_apt. NOTE: if you have not installed nginx, you do not have to do this step. NOTE: this script for freenginx is built as a drop in replacement for nginx.

Install newly compiled binary

  1. cd /path/to/buildroot/nginx-release-1.29.4
  2. sudo make install
  3. Check nginx sudo nginx -t
  4. Reload nginx sudo nginx -s reload
  5. Verify new version sudo nginx -v should output nginx version: freenginx/1.29.4 (w/GeoIP2,Brotli,H3,Headers-More,Quantum,debug,KTLS)
S
Description
Custom build configs for freenginx/nginx Ubuntu 22.04
https://github.com/iamdoubz/nginx-custom Readme MIT
90 KiB
2025-02-10 15:36:09 -06:00
Languages
Shell 100%