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
Branches
No related tags found
No related merge requests found
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
- apache2 - apache2
- apache2-utils - apache2-utils
- apache2-mpm-event - apache2-mpm-event
- apache2-suexec - apache2-mpm-worker
- libapache2-mod-fastcgi - apache2-suexec-custom
- php5-fpm - libapache2-mod-fcgid
notify: "Apache | Restart Apache" notify: "Apache | Restart Apache"
- name: "Apache | Enable some required modules" - name: "Apache | Enable some required modules"
...@@ -23,10 +23,8 @@ ...@@ -23,10 +23,8 @@
- vhost_alias - vhost_alias
- ssl - ssl
- actions - actions
- fastcgi
- alias - alias
- suexec - suexec
ignore_errors: yes
notify: "Apache | Restart Apache" notify: "Apache | Restart Apache"
- name: "Apache | Disable modules" - name: "Apache | Disable modules"
...@@ -37,19 +35,6 @@ ...@@ -37,19 +35,6 @@
- php5 - php5
notify: "Apache | Restart Apache" 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" - name: "Apache | Turn on Extended Status"
lineinfile: lineinfile:
dest=/etc/apache2/apache2.conf dest=/etc/apache2/apache2.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment