mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-08-20 22:52:30 +02:00
Update to v8.16.0
This commit is contained in:
@@ -3113,6 +3113,9 @@ echo $! > {pid_file}'''.format(
|
||||
except ValueError:
|
||||
res_domains.append({"name": domain, "status": False, "msg": 'Invalid Domain'})
|
||||
continue
|
||||
if int(domain_arr[1]) == 443:
|
||||
res_domains.append({"name": domain, "status": False, "msg": 'Port 443 is not allowed for Python projects'})
|
||||
continue
|
||||
if not public.M('domain').where('name=? AND port=?', (domain_arr[0], domain_arr[1])).count():
|
||||
public.M('domain').add(
|
||||
'name,pid,port,addtime',
|
||||
|
||||
Reference in New Issue
Block a user