Constants

mruby_nginx_module's constants are following.

nginx's internal status

  • Nginx::OK
  • Nginx::ERROR
  • Nginx::AGAIN
  • Nginx::BUSY
  • Nginx::DONE
  • Nginx::DECLINED
  • Nginx::ABORT

HTTP status

  • Nginx::HTTP_OK
  • Nginx::HTTP_CREATED
  • Nginx::HTTP_ACCEPTED
  • Nginx::HTTP_NO_CONTENT
  • Nginx::HTTP_SPECIAL_RESPONSE
  • Nginx::HTTP_MOVED_PERMANENTLY
  • Nginx::HTTP_MOVED_TEMPORARILY
  • Nginx::HTTP_SEE_OTHER
  • Nginx::HTTP_NOT_MODIFIED
  • Nginx::HTTP_TEMPORARY_REDIRECT
  • Nginx::HTTP_BAD_REQUEST
  • Nginx::HTTP_UNAUTHORIZED
  • Nginx::HTTP_FORBIDDEN
  • Nginx::HTTP_NOT_FOUND
  • Nginx::HTTP_NOT_ALLOWED
  • Nginx::HTTP_REQUEST_TIME_OUT
  • Nginx::HTTP_CONFLICT
  • Nginx::HTTP_LENGTH_REQUIRED
  • Nginx::HTTP_PRECONDITION_FAILED
  • Nginx::HTTP_REQUEST_ENTITY_TOO_LARGE
  • Nginx::HTTP_REQUEST_URI_TOO_LARGE
  • Nginx::HTTP_UNSUPPORTED_MEDIA_TYPE
  • Nginx::HTTP_RANGE_NOT_SATISFIABLE
  • Nginx::HTTP_CLOSE
  • Nginx::HTTP_NGINX_CODES
  • Nginx::HTTP_REQUEST_HEADER_TOO_LARGE
  • Nginx::HTTPS_CERT_ERROR
  • Nginx::HTTPS_NO_CERT
  • Nginx::HTTP_TO_HTTPS
  • Nginx::HTTP_CLIENT_CLOSED_REQUEST
  • Nginx::HTTP_INTERNAL_SERVER_ERROR
  • Nginx::HTTP_NOT_IMPLEMENTED
  • Nginx::HTTP_BAD_GATEWAY
  • Nginx::HTTP_SERVICE_UNAVAILABLE
  • Nginx::HTTP_GATEWAY_TIME_OUT
  • Nginx::HTTP_INSUFFICIENT_STORAGE

HTTP method

  • Nginx::HTTP_UNKNOWN
  • Nginx::HTTP_GET
  • Nginx::HTTP_HEAD
  • Nginx::HTTP_PUT
  • Nginx::HTTP_DELETE
  • Nginx::HTTP_MKCOL
  • Nginx::HTTP_COPY
  • Nginx::HTTP_MOVE
  • Nginx::HTTP_OPTIONS
  • Nginx::HTTP_PROPFIND
  • Nginx::HTTP_PROPPATCH
  • Nginx::HTTP_LOCK
  • Nginx::HTTP_UNLOCK
  • Nginx::HTTP_PATCH
  • Nginx::HTTP_TRACE

error log priority

  • Nginx::LOG_STDERR
  • Nginx::LOG_EMERG
  • Nginx::LOG_ALERT
  • Nginx::LOG_CRIT
  • Nginx::LOG_ERR
  • Nginx::LOG_WARN
  • Nginx::LOG_NOTICE
  • Nginx::LOG_INFO
  • Nginx::LOG_DEBUG