Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Dec 20, 2023
1 parent b49e91e commit 7900bec
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dockerManager/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ class Containers(models.Model):
ports = models.TextField(default="{}")
volumes = models.TextField(default="{}")
env = models.TextField(default="{}")
startOnReboot = models.IntegerField(default=0)
startOnReboot = models.IntegerField(default=0)
2 changes: 1 addition & 1 deletion plogical/DockerSites.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def Main():
"adminPassword": 'testdbwp',
"adminEmail": '[email protected]',
"htaccessPath": '/home/docker.cyberpanel.net/public_html/.htaccess',
"externalApp": 'docke3339',
"externalApp": 'docke8463',
"docRoot": "/home/docker.cyberpanel.net"
}
ds = DockerSites(data)
Expand Down
11 changes: 9 additions & 2 deletions websiteFunctions/templates/websiteFunctions/createDomain.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,15 @@ <h3 class="content-box-header">
<div class="col-sm-9">
<div class="checkbox">
<label>
<input ng-model="apacheBackend" type="checkbox" value="">
Apache as Reverse Proxy (Beta, for Ubuntu 22 and AlmaLinux 8)
{% if test_domain_data %}
<input ng-model="apacheBackend" type="checkbox" value="">
Apache as Reverse Proxy (Beta, for Ubuntu 22 and AlmaLinux 8)
{% else %}
<input ng-model="apacheBackend" type="checkbox" value="" disabled>
OpenLiteSpeed + Apache (Backend) (For Ubuntu 22 and AlmaLinux 8) -
<strong><a href="https://go.cyberpanel.net/ApacheRev">Premium Feature</a> <i
class="p fa fa-external-link btn-icon"></i></strong>
{% endif %}
</label>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ <h3 class="content-box-header">
<input ng-model="apacheBackend" type="checkbox" value="">
OpenLiteSpeed + Apache (Backend) (For Ubuntu 22 and AlmaLinux 8)
{% else %}

<input ng-model="apacheBackend" type="checkbox" value="" disabled>
OpenLiteSpeed + Apache (Backend) (For Ubuntu 22 and AlmaLinux 8) - <strong><a href="https://go.cyberpanel.net/ApacheRev">Premium Feature</a> <i class="p fa fa-external-link btn-icon"></i></strong>
{% endif %}
Expand Down

0 comments on commit 7900bec

Please sign in to comment.