iamdoubz d40a352df3 Update README.md
Add more commands to check newly installed nginx binary
2025-01-14 22:38:09 -06:00
2025-01-14 21:44:06 -06:00
2025-01-14 22:33:25 -06:00
2025-01-14 22:38:09 -06:00

nginx-custom

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

Enhancements

  • Support for H3/QUIC
  • Brotli compression
  • GeoIP (MaxMind)
  • debug

Dependencies

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

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

How to download

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

Make a backup of your existing binary

Type which nginx and make a copy.

Install newly compiled binary

  1. cd /path/to/buildroot/nginx-1.27.3
  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: nginx/1.27.3 (w/GeoIP,Brotli,http3,debug)
2025-02-10 15:36:09 -06:00
Languages
Shell 100%