Nginx custom build by Hakase | GitHub : https://github.com/hakasenyang/nginx-build
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.inc.example 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #!/bin/sh
  2. ######################
  3. ### Default Config ###
  4. ######################
  5. ### SERVER HEADER!!!
  6. ### Please edit this
  7. SERVER_HEADER="hakase"
  8. ### x86, x64 check
  9. ### If you do not want optimization, uncomment it.
  10. ### (Comment out existing sources.)
  11. ### Do not modify it under normal circumstances.
  12. BITCHK=`getconf LONG_BIT`
  13. #BITCHK=32
  14. ### Multithread build
  15. ### Do not modify it under normal circumstances.
  16. BUILD_MTS="-j$(expr $(nproc) \+ 1)"
  17. ### LTO build
  18. ### View : https://gcc.gnu.org/wiki/LinkTimeOptimization#Using_LTO
  19. LTO=1
  20. #########################
  21. ### Select add module ###
  22. #########################
  23. ### Enter 0 for the module that is not to be used.
  24. ### PageSpeed
  25. PAGESPEED=0
  26. ### nginx-http-flv-module
  27. FLV=0
  28. ### naxsi
  29. NAXSI=1
  30. ### nginx-dav-ext-module
  31. DAV_EXT=1
  32. ### fancyindex
  33. FANCYINDEX=1
  34. ### GEOIP2
  35. GEOIP2=1
  36. ### nginx-module-vts
  37. VTS=0
  38. ##########################
  39. ### nginx install path ###
  40. ##########################
  41. ### Prefix
  42. NGX_PREFIX="/usr/local/nginx"
  43. ### Binary
  44. NGX_SBIN_PATH="/usr/sbin/nginx"
  45. ### Config Path
  46. NGX_CONF="/etc/nginx/nginx.conf"
  47. ### Temp Path (client_body_temp, proxy_temp, ...)
  48. NGX_LIB="/var/lib/nginx"
  49. ### Log path
  50. NGX_LOG="/var/log/nginx"
  51. ### PID file
  52. NGX_PID="/var/run/nginx.pid"
  53. ### Lock file
  54. NGX_LOCK="/var/lock/nginx.lock"