Add the right module
This commit is contained in:
parent
4117fef790
commit
0e9b43438b
@ -21,6 +21,12 @@
|
|||||||
login_password: "{{ mysql_root_password }}"
|
login_password: "{{ mysql_root_password }}"
|
||||||
- name: Set up Apache
|
- name: Set up Apache
|
||||||
block:
|
block:
|
||||||
|
- name: Enable modules
|
||||||
|
command:
|
||||||
|
cmd: a2enmod "{{ item }}"
|
||||||
|
creates: "/etc/apache2/mods-enabled/{{ item }}.load"
|
||||||
|
loop:
|
||||||
|
- proxy
|
||||||
- name: Template out vhost
|
- name: Template out vhost
|
||||||
template:
|
template:
|
||||||
src: "apache2-vhost-ssl.conf"
|
src: "apache2-vhost-ssl.conf"
|
||||||
|
@ -21,7 +21,8 @@ SSLStrictSNIVHostCheck off
|
|||||||
AllowOverride All
|
AllowOverride All
|
||||||
Options MultiViews FollowSymlinks
|
Options MultiViews FollowSymlinks
|
||||||
</Directory>
|
</Directory>
|
||||||
ProxyRequests off
|
ProxyPreserveHost On
|
||||||
|
ProxyRequests Off
|
||||||
ProxyPass / https://127.0.0.1:3000/ nocanon
|
ProxyPass / https://127.0.0.1:3000/ nocanon
|
||||||
ProxyPassReverse / https://127.0.0.1:3000/
|
ProxyPassReverse / https://127.0.0.1:3000/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user