aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-07-02 05:36:46 +0000
committerRob Austein <sra@hactrn.net>2013-07-02 05:36:46 +0000
commita36d9359a1c4057451931750be90742e88743566 (patch)
treee1de44be4cb7828658ae0ce35c3fb7e2cf2c63b7
parentdc95d563979b8adaf5340cdcd8e29e9740a4adb6 (diff)
Document web_portal::allowed-hosts. Closes #567.
svn path=/trunk/; revision=5422
-rw-r--r--rpkid/rpki-confgen.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/rpkid/rpki-confgen.xml b/rpkid/rpki-confgen.xml
index f58eede5..e0ed273a 100644
--- a/rpkid/rpki-confgen.xml
+++ b/rpkid/rpki-confgen.xml
@@ -847,6 +847,20 @@
</doc>
</option>
+ <option name = "allowed-hosts">
+ <doc>
+ 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.
+ </doc>
+ <doc>
+ If you get an error like "Invalid HTTP_HOST header (you may
+ need to set ALLOWED_HOSTS)", you will need to set this option.
+ </doc>
+ </option>
+
</section>
<section name = "autoconf">