Use one directory per member for cloud vhosts #92
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, vhost NGINX files for each member are stored as
username_domain.com
in a single directory (/etc/nginx/ceod/member-vhosts). This was a bad idea. It would be much cleaner to create one directory per member, e.g.username/domain.com
.The directory should be created the first time a member creates a vhost, and deleted when their last vhost is deleted. This way we don't end up with any empty directories.