initial commit
This commit is contained in:
4
angie/conf/proxy-http/buffers.conf
Normal file
4
angie/conf/proxy-http/buffers.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
proxy_buffers 16 16k;
|
||||
proxy_buffer_size 16k;
|
||||
proxy_busy_buffers_size 32k;
|
||||
proxy_temp_file_write_size 32k;
|
14
angie/conf/proxy-http/cache-bypass.conf.j2
Normal file
14
angie/conf/proxy-http/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
|
||||
proxy_cache_bypass
|
||||
{%- for v in cache_bypass %}
|
||||
{{ v | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
proxy_no_cache
|
||||
{%- for v in cache_bypass %}
|
||||
{{ v | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
{%- endif -%}
|
2
angie/conf/proxy-http/headers.conf
Normal file
2
angie/conf/proxy-http/headers.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
include snip/proxy-request-headers;
|
||||
include snip/proxy-response-headers;
|
1
angie/conf/proxy-http/temp.conf
Normal file
1
angie/conf/proxy-http/temp.conf
Normal file
@@ -0,0 +1 @@
|
||||
proxy_temp_path /run/ngx/cache/temp_proxy 2 2;
|
1
angie/conf/proxy-http/version.conf
Normal file
1
angie/conf/proxy-http/version.conf
Normal file
@@ -0,0 +1 @@
|
||||
proxy_http_version 1.1;
|
Reference in New Issue
Block a user