fix(installer): folder and rights problems

This commit is contained in:
mrflos 2023-03-18 09:49:51 +03:00
parent b60f30ad18
commit f8d96156fa
2 changed files with 8 additions and 1 deletions

View file

@ -6,4 +6,8 @@ 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;
}
}