Add mod_proxy_fcgi (Debian)
This commit is contained in:
parent
7495b5fdd8
commit
d4e45322bf
17
apache/mod_proxy_fcgi.sls
Normal file
17
apache/mod_proxy_fcgi.sls
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{% if grains['os_family']=="Debian" %}
|
||||||
|
|
||||||
|
include:
|
||||||
|
- apache
|
||||||
|
- apache.mod_proxy
|
||||||
|
|
||||||
|
a2enmod proxy_fcgi:
|
||||||
|
cmd.run:
|
||||||
|
- unless: ls /etc/apache2/mods-enabled/proxy_fcgi.load
|
||||||
|
- order: 225
|
||||||
|
- require:
|
||||||
|
- pkg: apache
|
||||||
|
- cmd: a2enmod proxy
|
||||||
|
- watch_in:
|
||||||
|
- module: apache-restart
|
||||||
|
|
||||||
|
{% endif %}
|
Loading…
Reference in New Issue
Block a user