diff --git a/core/Controller/OCSController.php b/core/Controller/OCSController.php
index 8eee52096c20a4667adff61eff7ec64a07f1c742..05d2a34bac42181a44223b9eae7cc825bfd8102f 100644
--- a/core/Controller/OCSController.php
+++ b/core/Controller/OCSController.php
@@ -52,6 +52,23 @@ class OCSController extends \OCP\AppFramework\OCSController {
 		$this->userSession = $userSession;
 	}
 
+	/**
+	 * @PublicPage
+	 *
+	 * @return DataResponse
+	 */
+	public function getConfig() {
+		$data = [
+			'version' => '1.7',
+			'website' => 'ownCloud',
+			'host' => $this->request->getServerHost(),
+			'contact' => '',
+			'ssl' => 'false',
+		];
+
+		return new DataResponse($data);
+	}
+
 	/**
 	 * @NoAdminRequired
 	 * @return DataResponse
diff --git a/core/routes.php b/core/routes.php
index b4868c14cf3143f971f65628a0e466fd10e26685..90b8b4d2ace4542569dd967f0a5bc4ecd7d0f82d 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -56,6 +56,7 @@ $application->registerRoutes($this, [
 	'ocs' => [
 		['root' => '/cloud', 'name' => 'OCS#getCapabilities', 'url' => '/capabilities', 'verb' => 'GET'],
 		['root' => '/cloud', 'name' => 'OCS#getCurrentUser', 'url' => '/user', 'verb' => 'GET'],
+		['root' => '', 'name' => 'OCS#getConfig', 'url' => '/config', 'verb' => 'GET'],
 	],
 ]);
 
diff --git a/ocs/routes.php b/ocs/routes.php
index ae2ef05adcd46c43da2dc8463a2551432b771cd4..d14f32e045c8d42c8afafaf98a5bf59b6ad092c6 100644
--- a/ocs/routes.php
+++ b/ocs/routes.php
@@ -29,14 +29,6 @@
 
 use OCP\API;
 
-// Config
-API::register(
-	'get',
-	'/config',
-	array('OC_OCS_Config', 'apiConfig'),
-	'core',
-	API::GUEST_AUTH
-	);
 // Person
 API::register(
 	'post',