# When changing "Web directory" in Ploi->site->settings, the ssl fails to request/renew/

**Project:** Bugs | **Board:** Live | **Votes:** 1
**URL:** https://roadmap.ploi.io/projects/7-bugs/items/966-when-changing-web-directory-in-ploi-site-settings-the-ssl-fails-to-requestrenew

---

When changing "Web directory" in Ploi->site->settings, the ssl fails to request/renew/

Before changing web directory:
```
 location ~ /.well-known/acme-challenge {
        allow all;
        root /var/www/html;
    }
```

After changing web directory to `/public/test`:
```
 location ~ /.well-known/acme-challenge {
        allow all;
    root /home/ploi/sitename.nl/public/test;
    }
```

---

## Comments

**Dennis** (2024-03-29T07:20:15+00:00):
This is only for NodeJS sites btw.

