Clean up LocalSettings.php, simplify nginx sites-enabled and configure cache