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

Script to set up nginx config and generate certificates through Certbot #4

Open
roerohan opened this issue Oct 3, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Hacktoberfest 2019

Comments

@roerohan
Copy link
Contributor

roerohan commented Oct 3, 2019

The script should be able to

  • Generate nginx config file with necessary parameters such as server_name, root, etc. in /etc/nginx/sites-available, with name same as server_name
  • Link /etc/nginx/sites-enabled/server_name to the generated file
  • Generate SSL certificates through sudo certbot --nginx
  • Test if there are any errors with sudo nginx -t
  • Restart nginx server with sudo nginx -s reload
@roerohan roerohan added hacktoberfest Hacktoberfest 2019 enhancement New feature or request good first issue Good for newcomers labels Oct 3, 2019
@roerohan roerohan pinned this issue Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Hacktoberfest 2019
Projects
None yet
Development

No branches or pull requests

1 participant