1
0
mirror of https://github.com/krislamo/freecloud synced 2025-09-12 05:19:34 +00:00

Enabled HTTPS on Let's Encrypt

Refined gitignore. Moved testing variables back to group_vars.
Added apache modules: rewrite, ssl and header and created strong
SSL settings.
This commit is contained in:
2019-07-12 23:23:01 -04:00
parent 3a7fd20fff
commit 19c55ca2fb
4 changed files with 70 additions and 2 deletions

View File

@@ -109,6 +109,27 @@
notify:
- Reload Apache
- name: Enable Apache Rewrite Module
apache2_module:
name: rewrite
state: present
notify:
- Reload Apache
- name: Enable Apache SSL Module
apache2_module:
name: ssl
state: present
notify:
- Reload Apache
- name: Enable Apache Headers Module
apache2_module:
name: headers
state: present
notify:
- Reload Apache
- name: Enable Site
file:
src: /etc/apache2/sites-available/{{ nc_domain }}.conf
@@ -118,3 +139,4 @@
group: root
notify:
- Reload Apache