summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@debian.org>2018-07-20 17:48:02 +0200
committerJohannes 'josch' Schauer <josch@debian.org>2018-07-20 17:48:02 +0200
commitf832c88031eef428f54bc583adc7909795e27326 (patch)
treeadc62f8216e4137caf28f3972db022721c8f9604
parent6958c12aad3bccd19cd8dc0af7224c430a1c7d00 (diff)
add config file /etc/rss-bridge/config.ini.php
-rw-r--r--debian/config.ini.php44
-rw-r--r--debian/rss-bridge.install1
-rw-r--r--debian/rss-bridge.links1
3 files changed, 46 insertions, 0 deletions
diff --git a/debian/config.ini.php b/debian/config.ini.php
new file mode 100644
index 0000000..318b16c
--- /dev/null
+++ b/debian/config.ini.php
@@ -0,0 +1,44 @@
+; <?php exit; ?> DO NOT REMOVE THIS LINE
+
+; This file contains the host-specific changes to the default configuration
+; of RSS-Bridge. The default configuration can be found under
+; /usr/share/rss-bridge/config.default.ini.php
+
+[cache]
+
+; Allow users to specify custom timeout for specific requests.
+; true = enabled
+; false = disabled (default)
+custom_timeout = false
+
+[proxy]
+
+; Sets the proxy url (i.e. "tcp://192.168.0.0:32")
+; "" = Proxy disabled (default)
+url = ""
+
+; Sets the proxy name that is shown on the bridge instead of the proxy url.
+; "" = Show proxy url
+name = "Hidden proxy name"
+
+; Allow users to disable proxy usage for specific requests.
+; true = enabled
+; false = disabled (default)
+by_bridge = false
+
+[authentication]
+
+; Enables authentication for all requests to this RSS-Bridge instance.
+;
+; Warning: You'll have to upgrade existing feeds after enabling this option!
+;
+; true = enabled
+; false = disabled (default)
+enable = false
+
+; The username for authentication. Insert this name when prompted for login.
+username = ""
+
+; The password for authentication. Insert this password when prompted for login.
+; Use a strong password to prevent others from guessing your login!
+password = ""
diff --git a/debian/rss-bridge.install b/debian/rss-bridge.install
index 90d6cd9..31b2869 100644
--- a/debian/rss-bridge.install
+++ b/debian/rss-bridge.install
@@ -7,3 +7,4 @@
./vendor /usr/share/rss-bridge
./config.default.ini.php /usr/share/rss-bridge
debian/whitelist.txt /etc/rss-bridge
+debian/config.ini.php /etc/rss-bridge
diff --git a/debian/rss-bridge.links b/debian/rss-bridge.links
index fce5361..fb265f7 100644
--- a/debian/rss-bridge.links
+++ b/debian/rss-bridge.links
@@ -1,2 +1,3 @@
/var/cache/rss-bridge /usr/share/rss-bridge/cache
/etc/rss-bridge/whitelist.txt /usr/share/rss-bridge/whitelist.txt
+/etc/rss-bridge/config.ini.php /usr/share/rss-bridge/config.ini.php