summaryrefslogtreecommitdiffstats
path: root/config.php.example
diff options
context:
space:
mode:
authorChristian Klinger2016-06-08 15:47:33 +0200
committerChristian Klinger2016-06-08 15:47:33 +0200
commit506fe169abcd603d6e0804e90b16c5c30b1ee20e (patch)
tree7ff60abf3504949bf88bff88f32df23604487946 /config.php.example
parentfirst version of the dozmod proxy (without caching). (diff)
downloadslx-admin-506fe169abcd603d6e0804e90b16c5c30b1ee20e.tar.gz
slx-admin-506fe169abcd603d6e0804e90b16c5c30b1ee20e.tar.xz
slx-admin-506fe169abcd603d6e0804e90b16c5c30b1ee20e.zip
added a caching api proxy (that also validates the client IPs) for dozmod.
Diffstat (limited to 'config.php.example')
-rw-r--r--config.php.example5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.php.example b/config.php.example
index 6674ef61..14978897 100644
--- a/config.php.example
+++ b/config.php.example
@@ -26,10 +26,13 @@ define('CONFIG_VMSTORE_DIR', '/srv/openslx/nfs');
define('CONFIG_PROXY_CONF', '/opt/openslx/proxy/config');
+/* for the dozmod API proxy cache */
+define('CONFIG_DOZMOD_EXPIRE', 60*60); // 1 Minute
+
// Sort order for menu - optional, if missing, order will be alphabetically
$MENU_CAT_SORT_ORDER = array('main.content' => 0, 'main.settings-client' => 1, 'main.settings-server' => 2, 'main.status' => 3, 'main.users' => 4);
$MENU_SETTING_SORT_ORDER = array(
'news' => 0, 'sysconfig' => 1, 'baseconfig' => 2, 'locations' => 3, // main.content
'serversetup' => 0, 'internetaccess' => 1, 'vmstore' => 2, 'webinterface' => 3, 'backup' => 4, // main.settings
'systemstatus' => 0, 'eventlog' => 1, 'syslog' => 2, 'statistics' => 3 // main.status
-); \ No newline at end of file
+);