Skip to content

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

@roerohan

Description

@roerohan

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions