Fix ACME challenge path to use centralized Example directory
Update all vhost configurations to use /usr/local/lsws/Example/html/.well-known/acme-challenge instead of domain-specific paths for better SSL certificate management
This commit is contained in:
parent
d659bda9db
commit
6fb5f65758
|
|
@ -74,7 +74,7 @@ rewrite {
|
|||
}
|
||||
|
||||
context /.well-known/acme-challenge {
|
||||
location $VH_ROOT/public_html/.well-known/acme-challenge
|
||||
location /usr/local/lsws/Example/html/.well-known/acme-challenge
|
||||
allowBrowse 1
|
||||
|
||||
rewrite {
|
||||
|
|
@ -163,7 +163,7 @@ rewrite {
|
|||
}
|
||||
|
||||
context /.well-known/acme-challenge {
|
||||
location $VH_ROOT/public_html/.well-known/acme-challenge
|
||||
location /usr/local/lsws/Example/html/.well-known/acme-challenge
|
||||
allowBrowse 1
|
||||
|
||||
rewrite {
|
||||
|
|
@ -185,7 +185,7 @@ context /.well-known/acme-challenge {
|
|||
ServerAdmin {administratorEmail}
|
||||
SuexecUserGroup {externalApp} {externalApp}
|
||||
DocumentRoot /home/{virtualHostName}/public_html
|
||||
Alias /.well-known/acme-challenge /home/{virtualHostName}/public_html/.well-known/acme-challenge
|
||||
Alias /.well-known/acme-challenge /usr/local/lsws/Example/html/.well-known/acme-challenge
|
||||
CustomLog /home/{virtualHostName}/logs/{virtualHostName}.access_log combined
|
||||
AddHandler application/x-httpd-php{php} .php .php7 .phtml
|
||||
<IfModule LiteSpeed>
|
||||
|
|
@ -203,7 +203,7 @@ context /.well-known/acme-challenge {
|
|||
ServerAdmin {administratorEmail}
|
||||
SuexecUserGroup {externalApp} {externalApp}
|
||||
DocumentRoot {path}
|
||||
Alias /.well-known/acme-challenge /home/{virtualHostName}/public_html/.well-known/acme-challenge
|
||||
Alias /.well-known/acme-challenge /usr/local/lsws/Example/html/.well-known/acme-challenge
|
||||
CustomLog /home/{virtualHostName}/logs/{virtualHostName}.access_log combined
|
||||
AddHandler application/x-httpd-php{php} .php .php7 .phtml
|
||||
<IfModule LiteSpeed>
|
||||
|
|
|
|||
Loading…
Reference in New Issue