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
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
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy