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

No warning for removal of already configured nginx sites #11

Open
arcaine2 opened this issue Jan 8, 2022 · 1 comment
Open

No warning for removal of already configured nginx sites #11

arcaine2 opened this issue Jan 8, 2022 · 1 comment

Comments

@arcaine2
Copy link

arcaine2 commented Jan 8, 2022

sudo rm -rf /etc/nginx/sites-available/*
sudo rm -rf /etc/nginx/sites-enabled/*

This part of the script (and more) should not be there, those should at least be backed up, and not just removed forecefully without any warning.

@SirBomble
Copy link

Bumping as this is an unsafe practice and the user should be prompted.

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

No branches or pull requests

2 participants