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

Add/nginx config install testing #2605

Merged
merged 10 commits into from
May 11, 2022
Merged

Conversation

tomjn
Copy link
Member

@tomjn tomjn commented Apr 29, 2022

Closes #2604

This adds a function to install nginx configs that also reloads Nginx and uninstalls the config if Nginx breaks

Checks

  • I've updated the changelog.
  • I've tested this PR
  • This PR is for the develop branch not the stable branch.
  • This PR is complete and ready for review.

@update-docs
Copy link

update-docs bot commented Apr 29, 2022

Thanks for opening this pull request! Make sure CHANGELOG.md gets updated with this change, additionally any docs that need updated can be found at https://github.com/Varying-Vagrant-Vagrants/varyingvagrantvagrants.org

GitHub
The VVV docs and website. Contribute to Varying-Vagrant-Vagrants/varyingvagrantvagrants.org development by creating an account on GitHub.

@Mte90
Copy link
Member

Mte90 commented Apr 29, 2022

A lot of refactoring in this one, there will be less verbose stuff but require a bit of testing.

@tomjn
Copy link
Member Author

tomjn commented Apr 29, 2022

one place I haven't finished testing yet is broken nginx configs

@tomjn tomjn added this to the 3.10 milestone Apr 29, 2022
@tomjn
Copy link
Member Author

tomjn commented Apr 29, 2022

If you make a typo when creating your custom nginx config, this is now the result:

Screenshot 2022-04-29 at 14 59 39

@tomjn tomjn marked this pull request as ready for review April 29, 2022 15:56
@tomjn tomjn merged commit bb02a45 into develop May 11, 2022
@tomjn tomjn deleted the add/nginx_config_install_testing branch June 15, 2022 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gracefully handle nginx config install failures
2 participants