forked from gCubeSystem/conductor-setup
19 lines
382 B
Django/Jinja
19 lines
382 B
Django/Jinja
load_module modules/ngx_http_js_module.so;
|
|
|
|
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
|
|
{% if pep is defined and pep == True %}
|
|
js_import pep.js;
|
|
js_set $authorization pep.enforce;
|
|
proxy_cache_path /var/cache/nginx/pep keys_zone=token_responses:1m max_size=2m;
|
|
{% endif %}
|
|
include /etc/nginx/conf.d/*.conf;
|
|
include /etc/nginx/sites-enabled/*;
|
|
}
|