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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user