2022-11-22 07:09:27 +00:00
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# | Config file for ssl certificate for <?=$this->e($domain)?> host |
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen [::]:80;
|
|
|
|
listen 80;
|
|
|
|
server_name www.<?=$this->e($domain)?> <?=$this->e($domain)?>;
|
2023-03-18 06:49:51 +00:00
|
|
|
location ^~ /.well-known/acme-challenge/ {
|
|
|
|
root /home/<?=$this->e($user)?>/<?=$this->e($domain)?>;
|
|
|
|
try_files $uri =404;
|
|
|
|
}
|
2022-11-22 07:09:27 +00:00
|
|
|
}
|