1
- =====
2
- nginx
3
- =====
1
+ .. _readme :
4
2
5
- Install nginx either by source or by package.
3
+ nginx-formula
4
+ =============
6
5
7
- .. note ::
6
+ | img_travis | | img_sr |
8
7
8
+ .. |img_travis | image :: https://travis-ci.com/saltstack-formulas/nginx-formula.svg?branch=master
9
+ :alt: Travis CI Build Status
10
+ :scale: 100%
11
+ :target: https://travis-ci.com/saltstack-formulas/nginx-formula
12
+ .. |img_sr | image :: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
13
+ :alt: Semantic Release
14
+ :scale: 100%
15
+ :target: https://github.com/semantic-release/semantic-release
9
16
10
- See the full `Salt Formulas installation and usage instructions
11
- <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html> `_.
17
+ Formula to set up and configure nginx
18
+
19
+ .. contents :: **Table of Contents**
20
+
21
+ General notes
22
+ -------------
23
+
24
+ See the full `SaltStack Formulas installation and usage instructions
25
+ <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html> `_.
26
+
27
+ If you are interested in writing or contributing to formulas, please pay attention to the `Writing Formula Section
28
+ <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#writing-formulas> `_.
29
+
30
+ If you want to use this formula, please pay attention to the ``FORMULA `` file and/or ``git tag ``,
31
+ which contains the currently released version. This formula is versioned according to `Semantic Versioning <http://semver.org/ >`_.
32
+
33
+ See `Formula Versioning Section <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#versioning >`_ for more details.
34
+
35
+ Contributing to this repo
36
+ -------------------------
37
+
38
+ **Commit message formatting is significant!! **
39
+
40
+ Please see :ref: `How to contribute <CONTRIBUTING >` for more details.
12
41
13
42
Available states
14
43
================
@@ -17,54 +46,53 @@ Available states
17
46
:local:
18
47
19
48
``nginx ``
20
- ------------
49
+ ---------
21
50
22
51
Meta-state for inclusion of all states.
23
52
24
53
**Note: ** nginx requires the merge parameter of salt.modules.pillar.get(),
25
54
first available in the Helium release.
26
55
27
56
``nginx.pkg ``
28
- --------------------
57
+ -------------
29
58
30
59
Installs nginx from package, from the distribution repositories, the official nginx repo or the ppa from Launchpad.
31
60
32
61
``nginx.src ``
33
- --------------------
62
+ -------------
34
63
35
64
Builds and installs nginx from source.
36
65
37
66
``nginx.certificates ``
38
- -------------------
67
+ ----------------------
39
68
40
69
Manages the deployment of nginx certificates.
41
70
42
71
``nginx.config ``
43
- -------------------
72
+ ----------------
44
73
45
74
Manages the nginx main server configuration file.
46
75
47
76
``nginx.service ``
48
- --------------------
77
+ -----------------
49
78
50
79
Manages the startup and running state of the nginx service.
51
80
52
81
``nginx.servers_config ``
53
- --------------------------
82
+ ------------------------
54
83
55
84
Manages virtual host files. This state only manages the content of the files
56
85
and does not bind them to service calls.
57
86
58
87
``nginx.servers ``
59
- -------------------
88
+ -----------------
60
89
61
90
Manages nginx virtual hosts files and binds them to service calls.
62
91
63
92
``nginx.passenger ``
64
- ----------------------
93
+ -------------------
65
94
66
95
Installs and configures Phusion Passenger module for nginx. You need to enable
67
96
the upstream phusion passenger repository with `install_from_phusionpassenger: true `.
68
97
Nginx will also be installed from that repository, as it needs to be modified to
69
98
allow the passenger module to work.
70
-
0 commit comments