|
Server : LiteSpeed System : Linux srv526460274 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : kerao9884 ( 1082) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/local/CyberCP/tuning/templates/tuning/ |
Upload File : |
{% extends "baseTemplate/index.html" %}
{% load i18n %}
{% block title %}{% trans "LiteSpeed Tuning - CyberPanel" %}{% endblock %}
{% block content %}
{% load static %}
{% get_current_language as LANGUAGE_CODE %}
<!-- Current language: {{ LANGUAGE_CODE }} -->
<div class="container">
<div id="page-title">
<h2>{% trans "LiteSpeed Tuning" %}</h2>
<p>{% trans "You can use this page to tweak your server according to your website requirments." %}</p>
</div>
<div class="panel">
<div class="panel-body">
<h3 class="title-hero">
{% trans "Tuning Details" %} <img id="tuningLoading" src="{% static 'images/loading.gif' %}">
</h3>
<div ng-controller="litespeedTuning" class="example-box-wrapper">
<form action="/" class="form-horizontal bordered-row">
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "Max Connections" %}</label>
<div class="col-sm-6">
<input type="text" class="form-control" ng-model="maxConnections" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "Max SSL Connections" %}</label>
<div class="col-sm-6">
<input type="text" class="form-control" ng-model="maxSSLConnections" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "Connection Timeout" %}</label>
<div class="col-sm-6">
<input type="text" class="form-control" ng-model="connectionTimeOut" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "Keep Alive Timeout" %}</label>
<div class="col-sm-6">
<input type="text" class="form-control" ng-model="keepAliveTimeOut" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "Cache Size in memory" %}</label>
<div class="col-sm-6">
<input type="text" class="form-control" ng-model="cacheSizeInMemory" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "Enable GZIP Compression" %}</label>
<div class="col-sm-6">
<select ng-model="gzipCompression" class="form-control">
<option>Enable</option>
<option>Disable</option>
</select>
</div>
<div class="current-pack">{% trans "Currently:" %} {$ gzipStatus $}</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"></label>
<div class="col-sm-4">
<button type="button" ng-click="saveTuningSettings()" class="btn btn-primary btn-lg btn-block">{% trans "Tune Web Server" %}</button>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"></label>
<div class="col-sm-4">
<div id="canNotFetchTuning" class="alert alert-danger">
<p>{% trans "Cannot fetch Current Value, but you can still submit new changes, error reported from server:" %} {$ errMessage $}</p>
</div>
<div id="notTuned" class="alert alert-danger">
<p>{% trans "Cannot save details, Error Message: " %}{$ errMessage $} </p>
</div>
<div id="tuned" class="alert alert-success">
<p>{% trans "Web Server Successfully tuned." %} </p>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
{% endblock %}