summary 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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 $ZLIB in
  23. YES) echo " + using system zlib library" ;;
  24. NONE) echo " + zlib library is not used" ;;
  25. *) echo " + using zlib library: $ZLIB" ;;
  26. esac
  27. case $NGX_LIBATOMIC in
  28. YES) echo " + using system libatomic_ops library" ;;
  29. NO) ;; # not used
  30. *) echo " + using libatomic_ops library: $NGX_LIBATOMIC" ;;
  31. esac
  32. echo
  33. cat << END
  34. nginx path prefix: "$NGX_PREFIX"
  35. nginx binary file: "$NGX_SBIN_PATH"
  36. nginx modules path: "$NGX_MODULES_PATH"
  37. nginx configuration prefix: "$NGX_CONF_PREFIX"
  38. nginx configuration file: "$NGX_CONF_PATH"
  39. nginx pid file: "$NGX_PID_PATH"
  40. END
  41. if test -n "$NGX_ERROR_LOG_PATH"; then
  42. echo " nginx error log file: \"$NGX_ERROR_LOG_PATH\""
  43. else
  44. echo " nginx logs errors to stderr"
  45. fi
  46. cat << END
  47. nginx http access log file: "$NGX_HTTP_LOG_PATH"
  48. nginx http client request body temporary files: "$NGX_HTTP_CLIENT_TEMP_PATH"
  49. END
  50. if [ $HTTP_PROXY = YES ]; then
  51. echo " nginx http proxy temporary files: \"$NGX_HTTP_PROXY_TEMP_PATH\""
  52. fi
  53. if [ $HTTP_FASTCGI = YES ]; then
  54. echo " nginx http fastcgi temporary files: \"$NGX_HTTP_FASTCGI_TEMP_PATH\""
  55. fi
  56. if [ $HTTP_UWSGI = YES ]; then
  57. echo " nginx http uwsgi temporary files: \"$NGX_HTTP_UWSGI_TEMP_PATH\""
  58. fi
  59. if [ $HTTP_SCGI = YES ]; then
  60. echo " nginx http scgi temporary files: \"$NGX_HTTP_SCGI_TEMP_PATH\""
  61. fi
  62. echo "$NGX_POST_CONF_MSG"