Skip to content
Snippets Groups Projects
Commit e217b936 authored by jurgenhaas's avatar jurgenhaas
Browse files

Make apache, fastcgi and jailkit work together

parent f72c9dcb
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,9 @@
- apache2
- apache2-utils
- apache2-mpm-event
- apache2-suexec
- libapache2-mod-fastcgi
- php5-fpm
- apache2-mpm-worker
- apache2-suexec-custom
- libapache2-mod-fcgid
notify: "Apache | Restart Apache"
- name: "Apache | Enable some required modules"
......@@ -23,10 +23,8 @@
- vhost_alias
- ssl
- actions
- fastcgi
- alias
- suexec
ignore_errors: yes
notify: "Apache | Restart Apache"
- name: "Apache | Disable modules"
......@@ -37,19 +35,6 @@
- php5
notify: "Apache | Restart Apache"
- name: "Apache | Configuration of PHP-FPM"
template:
src=etc-apache2-conf-available-php5-fpm
dest=/etc/apache2/conf-available/php5-fpm{{ apache_conf_ext }}
owner=root
group=root
mode=0644
notify:
- "Apache | Restart Apache"
- name: "Apache | Enable PHP-FPM configuration"
command: a2enconf php5-fpm
- name: "Apache | Turn on Extended Status"
lineinfile:
dest=/etc/apache2/apache2.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment