Mercurial > hg > nginx-site
annotate xml/en/docs/faq/daemon_master_process_off.xml @ 2865:0d355d154181
Corrected syntax of ssl_conf_command and friends.
Each directive takes exactly two arguments: command name and value.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 23 Jun 2022 14:00:09 +0400 |
parents | af3f38e349eb |
children |
rev | line source |
---|---|
580
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
201
diff
changeset
|
1 <!-- |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
201
diff
changeset
|
2 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
201
diff
changeset
|
3 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
201
diff
changeset
|
4 |
198
ec4626d04879
- Bulk commit following discussion in devrep
Andrey Alexeev <andrew@nginx.com>
parents:
196
diff
changeset
|
5 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
196
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
6 |
201
e58be01b1f4a
- Added double quotes in the headers of these two
Andrey Alexeev <andrew@nginx.com>
parents:
200
diff
changeset
|
7 <article name="Can I run nginx with “daemon off” or |
e58be01b1f4a
- Added double quotes in the headers of these two
Andrey Alexeev <andrew@nginx.com>
parents:
200
diff
changeset
|
8 “master_process off” settings |
196
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
9 in a production environment?" |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
10 link="/en/docs/faq/daemon_master_process_off.html" |
589 | 11 lang="en" |
12 rev="1"> | |
196
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
13 |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
14 <section> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
15 |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
16 <para> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
17 <initial>Q:</initial> |
198
ec4626d04879
- Bulk commit following discussion in devrep
Andrey Alexeev <andrew@nginx.com>
parents:
196
diff
changeset
|
18 Can I run nginx with "daemon off" or "master_process off" settings |
196
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
19 in a production environment? |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
20 </para> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
21 |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
22 <para> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
23 |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
24 </para> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
25 |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
26 <para> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
27 <initial>A:</initial> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
28 First of all, both "daemon on|off" and "master_process on|off" directives were |
200
19c060caf965
- Figured out how to add new faq entries to makefile
Andrey Alexeev <andrew@nginx.com>
parents:
198
diff
changeset
|
29 intended to be used primarily for nginx code development. |
196
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
30 </para> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
31 |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
32 <para> |
625
af3f38e349eb
Removed terminal whitespace and fixed apostrophes used.
Ruslan Ermilov <ru@nginx.com>
parents:
589
diff
changeset
|
33 While many people use "daemon off" in production it wasn’t really meant for |
196
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
34 that. Since version 1.0.9 it is now quite safe to run nginx in production |
198
ec4626d04879
- Bulk commit following discussion in devrep
Andrey Alexeev <andrew@nginx.com>
parents:
196
diff
changeset
|
35 with "daemon off", though. Bear in mind that non-stop upgrade is not an |
ec4626d04879
- Bulk commit following discussion in devrep
Andrey Alexeev <andrew@nginx.com>
parents:
196
diff
changeset
|
36 option with "daemon off". |
196
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
37 </para> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
38 |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
39 <para> |
198
ec4626d04879
- Bulk commit following discussion in devrep
Andrey Alexeev <andrew@nginx.com>
parents:
196
diff
changeset
|
40 In a development environment, using "master_process off", nginx can run in |
196
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
41 the foreground without the master process and can be terminated simply |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
42 with ^C (SIGINT). This is somewhat similar to running Apache with |
200
19c060caf965
- Figured out how to add new faq entries to makefile
Andrey Alexeev <andrew@nginx.com>
parents:
198
diff
changeset
|
43 an 'X' command-line option. However you should NEVER run nginx in production |
198
ec4626d04879
- Bulk commit following discussion in devrep
Andrey Alexeev <andrew@nginx.com>
parents:
196
diff
changeset
|
44 with "master_process off". |
196
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
45 </para> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
46 |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
47 </section> |
aafe530e7d6f
- Added faq/ and more q&a as previously agreed
Andrey Alexeev <andrew@nginx.com>
parents:
diff
changeset
|
48 |
198
ec4626d04879
- Bulk commit following discussion in devrep
Andrey Alexeev <andrew@nginx.com>
parents:
196
diff
changeset
|
49 </article> |