-
Hello, I'm trying to set up TLS in my self-hosted umami server. I couldn't figure out how to allow access on custom directories in "public" dir. Umami is currently installed on my Nginx Unit server as a proxy. I've already tried to allow it through Unit's configuration file by adding {
"match": {
"host": "umami.example.com"
},
"action": {
"proxy": "http://127.0.0.1:4000"
}
},
{
"match": {
"uri": "/.well-known/acme-challenge/*"
},
"action": {
"share": "/root/umami/public/"
}
} But the certbot couldn't reach the "/.well-known/" dir. I also tried to create custom directory called "test" in public dir and put some images in there but I also couldn't reach these files via URL Sorry if this is a super basic question. I am fairly new at nextjs applications and I wonder if I'm missing something, should I change something in umami's source codes to allow it? I'd really appreciate your help. 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Moving |
Beta Was this translation helpful? Give feedback.
Moving
/root/umami
to/www/umami/
has fixed the problem.