Add public html files to tent

This commit is contained in:
Rodrigo Arias 2025-06-12 15:24:31 +02:00
parent 4678efefc8
commit 287b7e5c95

View File

@ -48,6 +48,12 @@ in
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location ~ ^/~(.+?)(/.*)?$ {
alias /vault/home/$1/public_html$2;
index index.html index.htm;
autoindex on;
absolute_redirect off;
}
'';
};
};