# salt.modules.nginx

Support for nginx

salt.modules.nginx.build_info()

  Return server and build arguments

  CLI Example:

      salt '*' nginx.build_info

salt.modules.nginx.configtest()

  test configuration and exit

  CLI Example:

      salt '*' nginx.configtest

salt.modules.nginx.signal(signal=None)

  Signals nginx to start, reload, reopen or stop.

  CLI Example:

      salt '*' nginx.signal reload

salt.modules.nginx.status(url='http://127.0.0.1/status')

  Return the data from an Nginx status page as a dictionary. http://wiki.nginx.org/HttpStubStatusModule

  url

    The URL of the status page. Defaults to 'http://127.0.0.1/status'

  CLI Example:

      salt '*' nginx.status

salt.modules.nginx.version()

  Return server version from nginx -v

  CLI Example:

      salt '*' nginx.version