vi src/core/nginx.h #define NGINX_VERSION "0.7.62" #define NGINX_VER "nginx/" NGINX_VERSION
上面的版本號和nginx自己修改 編譯 [code] ./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module make make 切記不要 make install