For anyone who stumbled upon this thread with the same Nginx compilation error, here I made a slightly modified Nginx installer script to compile and install the desired Nginx version. The installed Nginx will be available to Aapanel App Store page and you can use it pretty much like usual. Tested on regular x86-64 and aarch64 machine.
Currently I only test the installation of version 1.22
, 1.23
, 1.24
, 1.25
, 1.26
, openresty
, and tengine
. You can SSH to the server, download the script on the server and run the install script as described in the README.
Nginx Patched Installation Script for Aapanel
CC: @aaPanel_Kern