CloudLinux, CageFS and security improvements

This commit is contained in:
Usman Nasir
2019-07-16 23:23:16 +05:00
parent 5c8e25e0c5
commit 44983fab3c
85 changed files with 7689 additions and 3425 deletions

3
static/containerization/containerization.js Executable file → Normal file
View File

@@ -200,6 +200,7 @@ app.controller('websiteContainerLimit', function ($scope, $http, $timeout, $wind
dataType: 'json',
success: update,
type: "POST",
headers: { 'X-CSRFToken': getCookie('csrftoken') },
contentType: "application/json",
data: JSON.stringify(data), // Our valid JSON string
error: function () {
@@ -324,6 +325,7 @@ app.controller('websiteContainerLimit', function ($scope, $http, $timeout, $wind
$.ajax({
url: "/container/getUsageData",
dataType: 'json',
headers: { 'X-CSRFToken': getCookie('csrftoken') },
success: updateMemory,
type: "POST",
contentType: "application/json",
@@ -457,6 +459,7 @@ app.controller('websiteContainerLimit', function ($scope, $http, $timeout, $wind
$.ajax({
url: "/container/getUsageData",
dataType: 'json',
headers: { 'X-CSRFToken': getCookie('csrftoken') },
success: updateDisk,
type: "POST",
contentType: "application/json",