initial commit
This commit is contained in:
4
angie/conf/scgi/buffers.conf
Normal file
4
angie/conf/scgi/buffers.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
scgi_buffers 16 16k;
|
||||
scgi_buffer_size 16k;
|
||||
scgi_busy_buffers_size 32k;
|
||||
scgi_temp_file_write_size 32k;
|
14
angie/conf/scgi/cache-bypass.conf.j2
Normal file
14
angie/conf/scgi/cache-bypass.conf.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
{%- set cache_bypass = j2cfg.cache_bypass or [] -%}
|
||||
{%- if cache_bypass -%}
|
||||
## disable (response) cache under following conditions
|
||||
scgi_cache_bypass
|
||||
{%- for v in cache_bypass %}
|
||||
{{ v | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
scgi_no_cache
|
||||
{%- for v in cache_bypass %}
|
||||
{{ v | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
{%- endif -%}
|
2
angie/conf/scgi/headers.conf
Normal file
2
angie/conf/scgi/headers.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
include snip/scgi-request-headers;
|
||||
include snip/scgi-response-headers;
|
7
angie/conf/scgi/param.conf
Normal file
7
angie/conf/scgi/param.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
include snip/scgi_params;
|
||||
|
||||
scgi_param PATH_INFO $path_info;
|
||||
|
||||
scgi_param AUTH_USER $remote_user;
|
||||
scgi_param REMOTE_USER $remote_user;
|
||||
scgi_param HTTP_HOST $host;
|
1
angie/conf/scgi/temp.conf
Normal file
1
angie/conf/scgi/temp.conf
Normal file
@@ -0,0 +1 @@
|
||||
scgi_temp_path /run/ngx/cache/temp_scgi 2 2;
|
Reference in New Issue
Block a user