mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-28 02:09:03 +01:00
This commit is contained in:
@@ -424,6 +424,9 @@ context /.well-known/acme-challenge {
|
||||
command = f'mkdir -p /usr/local/lsws/Example/html/.well-known/acme-challenge'
|
||||
ProcessUtilities.normalExecutioner(command)
|
||||
|
||||
command = f'chmod -R 755 /usr/local/lsws/Example/html'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
CustomVerificationFile = f'/usr/local/lsws/Example/html/.well-known/acme-challenge/{virtualHostName}'
|
||||
command = f'touch {CustomVerificationFile}'
|
||||
ProcessUtilities.normalExecutioner(command)
|
||||
|
||||
Reference in New Issue
Block a user