diff --git a/roles/regluit_prod/tasks/certs.yml b/roles/regluit_prod/tasks/certs.yml index 8388ef3..5ef6052 100644 --- a/roles/regluit_prod/tasks/certs.yml +++ b/roles/regluit_prod/tasks/certs.yml @@ -3,7 +3,7 @@ - name: Make sure account exists and has given contacts. We agree to TOS. acme_account: account_key_src: private/letsencrypt_account.key - acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory + acme_directory: https://acme-v02.api.letsencrypt.org/directory acme_version: 2 state: present terms_agreed: yes @@ -14,7 +14,7 @@ - name: Create a challenge for server_name using a account key file. acme_certificate: account_key_src: private/letsencrypt_account.key - acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory + acme_directory: https://acme-v02.api.letsencrypt.org/directory acme_version: 2 csr: "private/{{ server_name }}.csr" dest: /etc/ssl/certs/server.crt @@ -49,7 +49,7 @@ - name: Create a challenge for server_name using a account key file. acme_certificate: account_key_src: private/letsencrypt_account.key - acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory + acme_directory: https://acme-v02.api.letsencrypt.org/directory acme_version: 2 csr: "private/{{ server_name }}.csr" dest: /etc/ssl/certs/server.crt diff --git a/roles/regluit_prod/templates/apache.conf.j2 b/roles/regluit_prod/templates/apache.conf.j2 index acaffb8..3bba9eb 100644 --- a/roles/regluit_prod/templates/apache.conf.j2 +++ b/roles/regluit_prod/templates/apache.conf.j2 @@ -9,7 +9,7 @@ ServerName {{ server_name }} ServerAdmin info@ebookfoundation.org -Redirect permanent / https://{{ server_name }} +Redirect permanent / https://{{ server_name }}/