20 lines
356 B
Python
20 lines
356 B
Python
# -*- mode: python; encoding: utf-8 -*-
|
|
|
|
info["owner"] = "root"
|
|
info["group"] = "root"
|
|
info["mode"] = 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 "}"
|