-
Notifications
You must be signed in to change notification settings - Fork 5
/
nginx.cfg
42 lines (39 loc) · 1.28 KB
/
nginx.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Shared Source Software
# Copyright (c) 2006 - 2012 Lovely Systems GmbH
[openresty]
# see https://github.com/agentzh/ngx_openresty
recipe = hexagonit.recipe.cmmi
url = http://agentzh.org/misc/nginx/ngx_openresty-1.0.11.28.tar.gz
configure-options = --with-debug
--with-cc-opt="-D NGX_HAVE_CASELESS_FILESYSTEM=0"
--with-http_stub_status_module
--with-http_realip_module
--without-mail_pop3_module
--without-mail_imap_module
--without-mail_smtp_module
--without-http_geo_module
--without-http_memcached_module
--without-http_empty_gif_module
--without-http_fastcgi_module
--without-http_scgi_module
--without-http_uwsgi_module
--without-http_xss_module
--without-http_form_input_module
--without-http_encrypted_session_module
--without-http_array_var_module
--without-http_redis2_module
--without-http_auth_request_module
--without-http_rds_json_module
--without-http_upstream_keepalive_module
--with-luajit
[nginx]
location=${openresty:location}/nginx
log_dir=${buildout:directory}/var/log
prefix_dir=${buildout:directory}/nginx
[nginx-cmd]
recipe = lovely.recipe:mkfile
path = ${buildout:bin-directory}/nginx
mode = 0755
command = ${nginx:location}/sbin/nginx -c ${nginx:prefix_dir}/nginx.conf -p ${nginx:prefix_dir}/
content = #!/bin/sh
${nginx-cmd:command} $@