Niels Abspoel
před 6 roky
Žádný účet není propojen s e-mailovou adresou tvůrce revize
2 změnil soubory, kde provedl
5 přidání a
0 odebrání
-
nginx/ng/files/nginx.conf
-
pillar.example
|
|
@@ -32,6 +32,10 @@ |
|
|
|
# |
|
|
|
# This file is managed by Salt. |
|
|
|
|
|
|
|
{% if 'load_module' in config.keys() %} |
|
|
|
{{ nginx_block(config.pop('load_module'), 'load_module') }} |
|
|
|
{%- endif -%} |
|
|
|
|
|
|
|
{% if 'include' in config.keys() %} |
|
|
|
{{ nginx_block(config.pop('include'), 'include') }} |
|
|
|
{%- endif -%} |
|
|
@@ -85,6 +85,7 @@ nginx: |
|
|
|
# options; if it is found other options (worker_processes: 4 and so |
|
|
|
# on) are not processed and just upload the file from source |
|
|
|
worker_processes: 4 |
|
|
|
load_module: modules/ngx_http_lua_module.so # this will be passed very first in configuration; otherwise nginx will fail to start |
|
|
|
pid: /var/run/nginx.pid ### Directory location must exist |
|
|
|
events: |
|
|
|
worker_connections: 768 |