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

Changed Nginx server names leaves config files on disk #14

Open
Jaymon opened this issue Mar 14, 2020 · 0 comments
Open

Changed Nginx server names leaves config files on disk #14

Jaymon opened this issue Mar 14, 2020 · 0 comments

Comments

@Jaymon
Copy link
Owner

Jaymon commented Mar 14, 2020

When Chef runs the nginx cookbook it creates configurations based on the 'server' variable in the chef/environments/*.rb files.

If that server name changes, the file related to the previous domain is not deleted and causes nginx to fail on startup.

Suggested solution is to have chef clear out those files before creating the necessary ones.


From Nov 2017 issue in private repo by @sqpierce

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

1 participant