Monitoring de la connectivité à php-fpm et sogo

This commit is contained in:
Valentin Samir 2013-07-25 17:50:26 +02:00
parent 1473fd6f99
commit f5134d6993
10 changed files with 46 additions and 17 deletions

View file

@ -0,0 +1,20 @@
# -*- mode: python; encoding: utf-8 -*-
info["owner"] = "root"
info["group"] = "root"
info["perms"] = 0644
comment_start = "#"
print """server {
listen 127.0.0.1;
server_name localhost;
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}"""
if has("php"):
print ' include "snippets/php.conf";'
print "}"