mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
apache as proxy
This commit is contained in:
@@ -183,6 +183,11 @@ LoadModule mpm_event_module modules/mod_mpm_event.so
|
|||||||
if ProcessUtilities.executioner(command, None, True) == 0:
|
if ProcessUtilities.executioner(command, None, True) == 0:
|
||||||
return "Apache run suexec proxy ssl"
|
return "Apache run suexec proxy ssl"
|
||||||
|
|
||||||
|
|
||||||
|
WriteToFile = open(confPath, 'a')
|
||||||
|
WriteToFile.writelines('\nSetEnv LSWS_EDITION Openlitespeed\nSetEnv X-LSCACHE on\n')
|
||||||
|
WriteToFile.close()
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
||||||
if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
|
if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
|
||||||
|
|||||||
@@ -269,7 +269,7 @@
|
|||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label>
|
<label>
|
||||||
<input ng-model="apacheBackend" type="checkbox" value="">
|
<input ng-model="apacheBackend" type="checkbox" value="">
|
||||||
Apache as Backend
|
Apache as Reverse Proxy (Beta, for Ubuntu 22 Only)
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -258,7 +258,7 @@
|
|||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label>
|
<label>
|
||||||
<input ng-model="apacheBackend" type="checkbox" value="">
|
<input ng-model="apacheBackend" type="checkbox" value="">
|
||||||
Apache as Backend
|
Apache as Reverse Proxy (Beta, for Ubuntu 22 Only)
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user