Mercurial > hg > nginx-site
annotate xml/ru/docs/switches.xml @ 1499:3687cc9a3592
Removed SSLv3 from the default value of ssl_protocols and friends.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 28 May 2015 14:48:44 +0300 |
parents | 7ac25c159209 |
children | 259a48800748 |
rev | line source |
---|---|
580
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
1 <!-- |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
2 Copyright (C) Igor Sysoev |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
3 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
4 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
5 |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
7 |
123
7db449e89e92
Unified the use of the "name" attribute instead of "title".
Ruslan Ermilov <ru@nginx.com>
parents:
76
diff
changeset
|
8 <article name="Параметры командной строки nginx" |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
9 link="/ru/docs/switches.html" |
589 | 10 lang="ru" |
1327
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
11 rev="2"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
12 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
13 <section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
14 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
15 <para> |
1327
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
16 nginx поддерживает следующие параметры командной строки: |
461 | 17 <list type="bullet"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
18 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
19 <listitem> |
1327
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
20 <literal>-?</literal> | <literal>-h</literal>—вывод справки |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
21 по параметрам командной строки. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
22 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
23 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
24 <listitem> |
1327
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
25 <literal>-c <value>файл</value></literal>—использование альтернативного |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
26 конфигурационного файла <value>файл</value> вместо файла по умолчанию. |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
27 </listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
28 |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
29 <listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
30 <literal>-g <value>директивы</value></literal>—задание |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
31 <link doc="ngx_core_module.xml">глобальных директив конфигурации</link>, |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
32 например |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
33 <programlisting> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
34 nginx -g "pid /var/run/nginx.pid; worker_processes `sysctl -n hw.ncpu`;" |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
35 </programlisting> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
36 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
37 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
38 <listitem> |
1327
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
39 <literal>-p <value>префикс</value></literal>—задание префикса пути nginx, |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
40 т.е. каталога, в котором будут находиться файлы сервера |
1331
7ac25c159209
Command-line parameters: empty spaces after — removed.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1327
diff
changeset
|
41 (по умолчанию—каталог <value>/usr/local/nginx</value>). |
1327
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
42 </listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
43 |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
44 <listitem> |
1331
7ac25c159209
Command-line parameters: empty spaces after — removed.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1327
diff
changeset
|
45 <literal>-q</literal>—вывод только сообщений об ошибках |
1327
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
46 при тестировании конфигурации. |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
47 </listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
48 |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
49 <listitem> |
1331
7ac25c159209
Command-line parameters: empty spaces after — removed.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1327
diff
changeset
|
50 <literal>-s <value>сигнал</value></literal>—отправка <i>сигнала</i> |
1327
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
51 главному процессу. |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
52 Аргументом <i>сигнал</i> может быть: |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
53 <list type="bullet"> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
54 <listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
55 <literal>stop</literal>—быстрое завершение |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
56 </listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
57 <listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
58 <literal>quit</literal>—плавное завершение |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
59 </listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
60 <listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
61 <literal>reload</literal>—перезагрузка конфигурации, |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
62 старт нового рабочего процесса с новой конфигурацией, |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
63 плавное завершение старых рабочих процессов. |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
64 </listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
65 <listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
66 <literal>reopen</literal>—переоткрытие лог-файлов |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
67 </listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
68 </list> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
69 </listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
70 |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
71 <listitem> |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
72 <literal>-t</literal>—тестирование конфигурационного файла: |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
73 nginx проверяет |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
74 синтаксическую правильность конфигурации, а затем пытается открыть файлы, |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
75 описанные в конфигурации. |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
76 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
77 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
78 <listitem> |
1327
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
79 <literal>-v</literal>—вывод версии nginx. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
80 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
81 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
82 <listitem> |
1327
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
83 <literal>-V</literal>—вывод версии nginx, версии компилятора |
03741fb502f4
Command-line parameters: updated with missing parameters.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
589
diff
changeset
|
84 и параметров конфигурации сборки. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
85 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
86 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
87 </list> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
88 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
89 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
90 </section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
91 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
92 </article> |