Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Change the root directory for all new users permanently
Change the root directory for all new users permanently
Hello,
Is there a way to change the root directory from to for all new users permanently?
What I want to happen is that, every time new user is created, I want the root directory to be `public_html/public` instead of `public_html` or at least change the `public_html` to `public` only.
Is there a way to change the root directory from
Code: Select all
public_html
Code: Select all
public_html/public
What I want to happen is that, every time new user is created, I want the root directory to be `public_html/public` instead of `public_html` or at least change the `public_html` to `public` only.
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Change the root directory for all new users permanently
You can edit all Vesta nginx/httpd (apache) templates for this.
Re: Change the root directory for all new users permanently
grayfolk is right, they are in: /usr/local/vesta/data/templates/web/