aboutsummaryrefslogtreecommitdiff
path: root/doc/20.RPKI.CA.Configuration.web_portal.wiki
blob: 9df6487fb79f830819abe5e2695017bf26d0ee06 (plain) (blame)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{{{
#!comment

******************************************************************************
THIS PAGE WAS GENERATED AUTOMATICALLY, DO NOT EDIT.

Generated from $Id: rpki-confgen.xml 6070 2015-03-23 18:04:06Z melkins $
            by $Id: rpki-confgen 5856 2014-05-31 18:32:19Z sra $
******************************************************************************

}}}
[[TracNav(doc/RPKI/TOC)]]
[[PageOutline]]

= [web_portal] section = #web_portal

Glue to allow the Django application to pull user configuration from
this file rather than directly editing settings.py.

== sql-database == #sql-database

SQL database name the web portal should use.

{{{
#!ini
sql-database = ${myrpki::irdbd_sql_database}
}}}

== sql-username == #sql-username

SQL user name the web portal should use.

{{{
#!ini
sql-username = ${myrpki::irdbd_sql_username}
}}}

== sql-password == #sql-password

SQL password the web portal should use.

{{{
#!ini
sql-password = ${myrpki::irdbd_sql_password}
}}}

== secret-key == #secret-key

Site-specific secret key for Django.

No default value.

== allowed-hosts == #allowed-hosts

Name of virtual host that runs the Django GUI, if this is not the same
as the system hostname. Django's security code wants to know the name
of the virtual host on which Django is running, and will fail when it
thinks it's running on a disallowed host.

If you get an error like "Invalid HTTP_HOST header (you may need to
set ALLOWED_HOSTS)", you will need to set this option.

No default value.

== download-directory == #download-directory

A directory large enough to hold the RouteViews.org routing table dump
fetched by the rpkigui-import-routes script.

{{{
#!ini
download-directory = /var/tmp
}}}