From 506fe169abcd603d6e0804e90b16c5c30b1ee20e Mon Sep 17 00:00:00 2001 From: Christian Klinger Date: Wed, 8 Jun 2016 15:47:33 +0200 Subject: added a caching api proxy (that also validates the client IPs) for dozmod. --- config.php.example | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.php.example') 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 +); -- cgit v1.2.3-55-g7522