summaryrefslogtreecommitdiffstats
path: root/pod/5/proxy.cfg.pod
blob: 6d8f9a2eb46c60846de42f16d0df7a55d302e68e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
=head1 NAME

proxy.cfg - urpmi proxy configuration file format.

=head1 DESCRIPTION

You can override default proxy using proxy.cfg (see the syntax below). You can
also set proxy on urpmi commands command-line using C<--proxy>.

Note that urpmi will use system global proxy settings (cf environment variable
C<http_proxy> or C<ftp_proxy>). If you don't want urpmi to use any proxy, you
can use C<http_proxy=> or C<ftp_proxy=>.

=head1 SYNTAX
The proxy.cfg file contains lines of the form

    [media:]http_proxy=[value]
    [media:]ftp_proxy=[value]
    [media:]proxy_user=[value]

where the media part is optional (in this case, the line applies to all
media). ftp_proxy and http_proxy values have the same syntax as the usual
environment variables used by many programs such as curl(1):

    [protocol://]<host>[:port]

C<proxy_user> values are simply a user name, or a user name and a password
separated by a colon (C<:>).

Alternatively, instead of C<proxy_user>, you can write:

    [media:]proxy_user_ask

In this case, urpmi and other tools will prompt for proxy credentials
(like with the urpmi command-line option B<--proxy-user=ask>).

=head1 AUTHOR

FranE<ccedil>ois Pons, Rafael Garcia-Suarez ,
Pascal Rigaux,
Thierry Vignaud <tv@mageia.org> (current maintainer)


=head1 SEE ALSO

urpmi(8), urpmi.cfg(5), urpmi.files(5).