derle.sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ./configure \
  2. --prefix=/etc/nginx \
  3. --conf-path=/etc/nginx/nginx.conf \
  4. --sbin-path=/usr/bin/nginx \
  5. --pid-path=/run/nginx.pid \
  6. --lock-path=/run/lock/nginx.lock \
  7. --user=nginx \
  8. --group=nginx \
  9. --http-log-path=/var/log/nginx/access.log \
  10. --error-log-path=stderr \
  11. --http-client-body-temp-path=/var/lib/nginx/client-body \
  12. --http-proxy-temp-path=/var/lib/nginx/proxy \
  13. --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
  14. --http-scgi-temp-path=/var/lib/nginx/scgi \
  15. --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
  16. --with-cc-opt="$CFLAGS $CPPFLAGS" \
  17. --with-ld-opt="$LDFLAGS" \
  18. --with-compat \
  19. --with-debug \
  20. --with-file-aio \
  21. --with-http_addition_module \
  22. --with-http_auth_request_module \
  23. --with-http_dav_module \
  24. --with-http_degradation_module \
  25. --with-http_flv_module \
  26. --with-http_geoip_module \
  27. --with-http_gunzip_module \
  28. --with-http_gzip_static_module \
  29. --with-http_mp4_module \
  30. --with-http_realip_module \
  31. --with-http_secure_link_module \
  32. --with-http_slice_module \
  33. --with-http_ssl_module \
  34. --with-http_stub_status_module \
  35. --with-http_sub_module \
  36. --with-http_v2_module \
  37. --with-mail \
  38. --with-mail_ssl_module \
  39. --with-pcre-jit \
  40. --with-stream \
  41. --with-stream_geoip_module \
  42. --with-stream_realip_module \
  43. --with-stream_ssl_module \
  44. --with-stream_ssl_preread_module \
  45. --with-threads
  46. make