Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rebuild-web-domain deleting all includes in /etc/*/conf.d/vesta.conf for some usernames #1576

Merged
merged 1 commit into from
May 21, 2018

Conversation

moucho
Copy link
Contributor

@moucho moucho commented May 21, 2018

If someone creates an user named "conf" or "web", when that user rebuilds its web domains all lines with "include" on /etc/httpd/conf.d/vesta.conf and /etc/nginx/conf.d/vesta.conf for the virtualhosts would be deleted and then would only add its "include" rules for the domain being rebuild.

The other users wouldn't have any website working any more, they would have to rebuild their web domains too to fix it.

It includes another PR that it's approved, so I guess there's no problem including it here.

PS: resubmitted from #1293

@dpeca dpeca merged commit f1a6b37 into outroll:master May 21, 2018
@dpeca
Copy link
Collaborator

dpeca commented May 21, 2018

Merged on my responsibility.
Looks fine and needy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants