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 August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy