Mercurial > hg > nginx-site
annotate xml/it/docs/configure.xml @ 2640:885bcb41fbcf
Added an example to njs examples.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 19 Jan 2021 12:40:34 +0000 |
parents | 6303d4e343a8 |
children |
rev | line source |
---|---|
1053
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
1 <!-- |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
2 Copyright (C) Igor Sysoev |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
3 Copyright (C) Nginx, Inc. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
4 --> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
5 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
7 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
8 <article name="Compilare i sorgenti di nginx" |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
9 link="/it/docs/configure.html" |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
10 lang="it" |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
11 translator="Angelo Papadia" |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
12 rev="4"> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
13 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
14 <section> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
15 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
16 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
17 La compilazione si configura tramite il comando <command>configure</command>, |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
18 che definisce vari aspetti del sistema, fra cui i metodi che nginx puo' |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
19 usare per processare le connessioni; alla fine viene creato un <path>Makefile</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
20 Il comando <command>configure</command> supporta, fra gli altri, i seguenti parametri: |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
21 <list type="bullet"> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
22 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
23 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
24 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
25 <literal>--prefix=<value>path</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
26 definisce la directory che conterra' i file del server. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
27 La medesima directory sara' pure usata per tutti i path relativi |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
28 definiti da <command>configure</command> (a parte i path ai sorgenti |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
29 delle librerie) e nel file di configurazione <path>nginx.conf</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
30 Per default vale <path>/usr/local/nginx</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
31 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
32 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
33 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
34 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
35 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
36 <literal>--sbin-path=<value>path</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
37 stabilisce il nome del file eseguibile di nginx. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
38 Tale valore e' usato solo nel corso dell'installazione. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
39 Per default il file eseguibile e' chiamato |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
40 <path><value>prefix</value>/sbin/nginx</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
41 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
42 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
43 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
44 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
45 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
46 <literal>--conf-path=<value>path</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
47 stabilisce il nome del file di configurazione <path>nginx.conf</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
48 In ogni caso, nginx puo' sempre essere avviato con un file di |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
49 configurazione differente, specificando quest'ultimo tramite il parametro |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
50 a linea di comando <nobr><literal>-c <value>file</value></literal></nobr>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
51 Per default il file di configurazione e' |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
52 <path><value>prefix</value>/conf/nginx.conf</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
53 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
54 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
55 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
56 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
57 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
58 <literal>--pid-path=<value>path</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
59 stabilisce il nome del file nginx.pid in cui e' registrato l'ID |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
60 del processo principale. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
61 Dopo l'installazione, il nome del file puo' sempre essere modificato |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
62 tramite la direttiva <link doc="ngx_core_module.xml" id="pid"/> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
63 del file di configurazione <path>nginx.conf</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
64 Per default il file contenente il pid e' |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
65 <path><value>prefix</value>/logs/nginx.pid</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
66 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
67 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
68 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
69 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
70 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
71 <literal>--error-log-path=<value>path</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
72 stabilisce il nome del principale file di diagnostica in cui sono |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
73 registrati gli errori e gli avvisi. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
74 Dopo l'installazione, il nome del file puo' sempre essere modificato |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
75 tramite la direttiva <link doc="ngx_core_module.xml" id="error_log"/> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
76 del file di configurazione <path>nginx.conf</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
77 Per default il file degli errori e' |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
78 <path><value>prefix</value>/logs/error.log</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
79 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
80 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
81 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
82 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
83 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
84 <literal>--http-log-path=<value>path</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
85 stabilisce il nome del principale file di log delle richieste |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
86 al server HTTP. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
87 Dopo l'installazione, il nome del file puo' sempre essere modificato tramite |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
88 la direttiva <link doc="http/ngx_http_log_module.xml" id="access_log"/> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
89 del file di configurazione <path>nginx.conf</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
90 Per default il file di log delle richieste e' |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
91 <path><value>prefix</value>/logs/access.log</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
92 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
93 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
94 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
95 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
96 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
97 <literal>--user=<value>name</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
98 stabilisce il nome di un utente non privilegiato le cui credenziali saranno |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
99 usate dai processi worker. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
100 Dopo l'installazione, l'utente puo' sempre essere modificato tramite |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
101 la direttiva <link doc="ngx_core_module.xml" id="user"/> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
102 del file di configurazione <path>nginx.conf</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
103 L'utente di default e' nobody. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
104 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
105 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
106 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
107 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
108 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
109 <literal>--group=<value>name</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
110 stabilisce il nome di un gruppo le cui credenziali saranno |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
111 usate dai processi worker. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
112 Dopo l'installazione, il gruppo puo' sempre essere modificato tramite |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
113 la direttiva <link doc="ngx_core_module.xml" id="user"/> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
114 del file di configurazione <path>nginx.conf</path>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
115 Per default il gruppo e scelto fra uno di quelli degli utenti non priviliegiati. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
116 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
117 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
118 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
119 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
120 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
121 <literal>--with-select_module</literal><br/> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
122 <literal>--without-select_module</literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
123 abilita o disabilita la compilazione del modulo che consente al server |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
124 di utilizzare il metodo <c-func>select</c-func>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
125 Tale modulo e' compilato automaticamente nel caso in cui la piattaforma non |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
126 supporti metodi piu' appropriati, quali kqueue, epoll, rtsig, o /dev/poll. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
127 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
128 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
129 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
130 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
131 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
132 <literal>--with-poll_module</literal><br/> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
133 <literal>--without-poll_module</literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
134 abilita o disabilita la compilazione del modulo che consente al server |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
135 di utilizzare il metodo <c-func>poll</c-func>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
136 Tale modulo e' compilato automaticamente nel caso in cui la piattaforma non |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
137 supporti metodi piu' appropriati, quali kqueue, epoll, rtsig, o /dev/poll. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
138 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
139 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
140 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
141 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
142 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
143 <literal>--without-http_gzip_module</literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
144 disabilita la compilazione del modulo che |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
145 <link doc="http/ngx_http_gzip_module.xml">comprime le risposte</link> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
146 del server HTTP. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
147 Per la compilazione e l'utilizzo di questo modulo e' richiesta la libreria zlib. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
148 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
149 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
150 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
151 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
152 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
153 <literal>--without-http_rewrite_module</literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
154 disabilita la compilazione del modulo che consente al server HTTP di |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
155 <link doc="http/ngx_http_rewrite_module.xml">redirigere e cambiare l'URI |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
156 delle richieste</link>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
157 Per la compilazione e l'utilizzo di questo modulo e' richiesta la libreria PCRE. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
158 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
159 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
160 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
161 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
162 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
163 <literal>--without-http_proxy_module</literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
164 disabilita la compilazione del |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
165 <link doc="http/ngx_http_proxy_module.xml">modulo di proxy</link> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
166 del server HTTP. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
167 <!-- |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
168 The MD5 library is required to build and run this module. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
169 --> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
170 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
171 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
172 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
173 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
174 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
175 <literal>--with-http_ssl_module</literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
176 abilita la compilazione del modulo che aggiunge al server HTTP il |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
177 <link doc="http/ngx_http_ssl_module.xml">supporto al protocollo HTTPS</link>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
178 Per default tale modulo non e' compilato. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
179 Per la compilazione e l'utilizzo di questo modulo e' richiesta la libreria OpenSSL. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
180 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
181 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
182 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
183 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
184 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
185 <literal>--with-pcre=<value>path</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
186 indica il path ai sorgenti della libreria PCRE. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
187 E' necessario scaricare dal sito di <link url="http://www.pcre.org">PCRE</link> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
188 la distribuzione della libreria (versioni da 4.4 a 8.32), ed estrarla. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
189 Al resto ci pensano i comandi <command>./configure</command> e |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
190 <command>make</command> di nginx. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
191 La libreria e' richiesta per il supporto alle espressioni regolari nella |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
192 direttiva <link doc="http/ngx_http_core_module.xml" id="location"/> e per il |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
193 modulo <link doc="http/ngx_http_rewrite_module.xml">ngx_http_rewrite_module</link>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
194 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
195 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
196 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
197 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
198 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
199 <literal>--with-pcre-jit</literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
200 compila la libreria PCRE con il supporto “just-in-time" |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
201 (1.1.12, direttiva <link doc="ngx_core_module.xml" id="pcre_jit"/>). |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
202 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
203 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
204 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
205 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
206 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
207 <literal>--with-zlib=<value>path</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
208 indica il path ai sorgenti della libreria zlib. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
209 E' necessario scaricare dal sito di <link url="http://zlib.net">zlib</link> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
210 la distribuzione della libreria (versioni da 1.1.3 a 1.2.7), ed estrarla. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
211 Al resto ci pensano i comandi <command>./configure</command> e |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
212 <command>make</command> di nginx. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
213 La libreria e' richiesta per il modulo |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
214 <link doc="http/ngx_http_gzip_module.xml">ngx_http_gzip_module</link>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
215 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
216 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
217 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
218 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
219 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
220 <literal>--with-cc-opt=<value>parameters</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
221 definisce i parametri che saranno aggiunti alla variabile CFLAGS. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
222 Nel caso in cui si stia usando la libreria PCRE in ambiente FreeBSD, |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
223 bisognerebbe specificare <literal>--with-cc-opt="-I /usr/local/include"</literal>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
224 Se il numero di file supportati da <c-func>select</c-func> deve essere |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
225 incrementato, e' possibile farlo anche con questo parametro, ad esempio con: |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
226 <literal>--with-cc-opt="-D FD_SETSIZE=2048"</literal>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
227 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
228 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
229 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
230 <listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
231 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
232 <literal>--with-ld-opt=<value>parameters</value></literal>— |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
233 definisce i parametri aggiuntivi che saranno usati durante il linking. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
234 Nel caso in cui si stia usando la libreria PCRE in ambiente FreeBSD, |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
235 bisognerebbe specificare <literal>--with-ld-opt="-L /usr/local/lib"</literal>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
236 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
237 </listitem> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
238 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
239 </list> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
240 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
241 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
242 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
243 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
244 Un esempio d'uso dei parametri (da scrivere tutti su un'unica linea): |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
245 <programlisting> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
246 ./configure |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
247 --sbin-path=/usr/local/nginx/nginx |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
248 --conf-path=/usr/local/nginx/nginx.conf |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
249 --pid-path=/usr/local/nginx/nginx.pid |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
250 --with-http_ssl_module |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
251 --with-pcre=../pcre-4.4 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
252 --with-zlib=../zlib-1.1.3 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
253 </programlisting> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
254 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
255 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
256 <para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
257 Dopo la configurazione, nginx e' compilato ed installato tramite |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
258 il comando <command>make</command>. |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
259 </para> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
260 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
261 </section> |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
262 |
6303d4e343a8
Updated the Italian translation.
Vladimir Homutov <vl@nginx.com>
parents:
diff
changeset
|
263 </article> |