summary 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. # Copyright (C) Igor Sysoev
  2. # Copyright (C) Nginx, Inc.
  3. echo
  4. echo "Configuration summary"
  5. if [ $USE_THREADS = YES ]; then
  6. echo " + using threads"
  7. fi
  8. if [ $USE_PCRE = DISABLED ]; then
  9. echo " + PCRE library is disabled"
  10. else
  11. case $PCRE in
  12. YES) echo " + using system PCRE library" ;;
  13. NONE) echo " + PCRE library is not used" ;;
  14. *) echo " + using PCRE library: $PCRE" ;;
  15. esac
  16. fi
  17. case $OPENSSL in
  18. YES) echo " + using system OpenSSL library" ;;
  19. NONE) echo " + OpenSSL library is not used" ;;
  20. *) echo " + using OpenSSL library: $OPENSSL" ;;
  21. esac
  22. case $MD5 in
  23. YES) echo " + md5: using $MD5_LIB library" ;;
  24. NONE) echo " + md5 library is not used" ;;
  25. NO) echo " + using builtin md5 code" ;;
  26. *) echo " + using md5 library: $MD5" ;;
  27. esac
  28. case $SHA1 in
  29. YES) echo " + sha1: using $SHA1_LIB library" ;;
  30. NONE) echo " + sha1 library is not used" ;;
  31. NO) echo " + sha1 library is not found" ;;
  32. *) echo " + using sha1 library: $SHA1" ;;
  33. esac
  34. case $ZLIB in
  35. YES) echo " + using system zlib library" ;;
  36. NONE) echo " + zlib library is not used" ;;
  37. *) echo " + using zlib library: $ZLIB" ;;
  38. esac
  39. case $NGX_LIBATOMIC in
  40. YES) echo " + using system libatomic_ops library" ;;
  41. NO) ;; # not used
  42. *) echo " + using libatomic_ops library: $NGX_LIBATOMIC" ;;
  43. esac
  44. echo
  45. cat << END
  46. nginx path prefix: "$NGX_PREFIX"
  47. nginx binary file: "$NGX_SBIN_PATH"
  48. nginx modules path: "$NGX_MODULES_PATH"
  49. nginx configuration prefix: "$NGX_CONF_PREFIX"
  50. nginx configuration file: "$NGX_CONF_PATH"
  51. nginx pid file: "$NGX_PID_PATH"
  52. END
  53. if test -n "$NGX_ERROR_LOG_PATH"; then
  54. echo " nginx error log file: \"$NGX_ERROR_LOG_PATH\""
  55. else
  56. echo " nginx logs errors to stderr"
  57. fi
  58. cat << END
  59. nginx http access log file: "$NGX_HTTP_LOG_PATH"
  60. nginx http client request body temporary files: "$NGX_HTTP_CLIENT_TEMP_PATH"
  61. END
  62. if [ $HTTP_PROXY = YES ]; then
  63. echo " nginx http proxy temporary files: \"$NGX_HTTP_PROXY_TEMP_PATH\""
  64. fi
  65. if [ $HTTP_FASTCGI = YES ]; then
  66. echo " nginx http fastcgi temporary files: \"$NGX_HTTP_FASTCGI_TEMP_PATH\""
  67. fi
  68. if [ $HTTP_UWSGI = YES ]; then
  69. echo " nginx http uwsgi temporary files: \"$NGX_HTTP_UWSGI_TEMP_PATH\""
  70. fi
  71. if [ $HTTP_SCGI = YES ]; then
  72. echo " nginx http scgi temporary files: \"$NGX_HTTP_SCGI_TEMP_PATH\""
  73. fi
  74. echo "$NGX_POST_CONF_MSG"