13 lines
465 B
PHP
13 lines
465 B
PHP
# ----------------------------------------------------------------------
|
|
# | Config file for ssl certificate for <?=$this->e($domain)?> host |
|
|
# ----------------------------------------------------------------------
|
|
|
|
server {
|
|
listen [::]:80;
|
|
listen 80;
|
|
server_name www.<?=$this->e($domain)?> <?=$this->e($domain)?>;
|
|
location ^~ /.well-known/acme-challenge/ {
|
|
root /home/<?=$this->e($user)?>/<?=$this->e($domain)?>;
|
|
try_files $uri =404;
|
|
}
|
|
}
|