18 lines
358 B
Plaintext
18 lines
358 B
Plaintext
|
load_module modules/ngx_http_js_module.so;
|
||
|
|
||
|
worker_processes 1;
|
||
|
|
||
|
events {
|
||
|
worker_connections 1024;
|
||
|
}
|
||
|
|
||
|
http {
|
||
|
|
||
|
js_import pep.js;
|
||
|
js_set $authorization pep.enforce;
|
||
|
underscores_in_headers on;
|
||
|
proxy_cache_path /var/cache/nginx/pep keys_zone=token_responses:1m max_size=2m;
|
||
|
include /etc/nginx/conf.d/*.conf;
|
||
|
include /etc/nginx/sites-enabled/*;
|
||
|
}
|