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

Lets encrypt update #93

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions basic-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,17 @@ You can follow [this guide from DigitalOcean](https://www.digitalocean.com/commu

We are going to use the official Certbot from the [Let's Encrypt](https://letsencrypt.org/) project.

First, we install the latests version with these commands:
First, we install the latests version with these commands for Ubuntu 18.04:

```bash
sudo add-apt-repository -y ppa:certbot/certbot
sudo apt install -y python-certbot-nginx
```
or on Ubuntu 20.04

```bash
sudo apt install -y python3-certbot-nginx
```
The original guide has now some step to check our domain name and our firewall configuration, if you've followed the [previous tutorial](decidim-bionic.md) we have this already covered.

So, let's run the certbot script (change `my-decidim.org` with your own full URL):
Expand Down Expand Up @@ -595,4 +599,4 @@ It is recommended to restart the server as well because we've modified the Gemfi
sudo passenger-config restart-app ~/decidim-app
```

That will be all! Happy metrics!
That will be all! Happy metrics!
2 changes: 1 addition & 1 deletion script/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Decidim installation script

`install-decidim.sh` is a script that automates all the steps described in this guide.

- It is indented to be idempotent, meaning that it can be run safely many times in case of failure.
- It is intended to be idempotent, meaning that it can be run safely many times in case of failure.
- It installs Decidim up to the point that it is up and running as a website. It does not configure extra services (such as SMTP or Geolocation).
- It does not configure SSL.
- It does not configure any firewall (ie `ufw`)
Expand Down