initial commit
This commit is contained in:
4
angie/conf/fastcgi/buffers.conf
Normal file
4
angie/conf/fastcgi/buffers.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
fastcgi_buffers 16 16k;
|
||||
fastcgi_buffer_size 16k;
|
||||
fastcgi_busy_buffers_size 32k;
|
||||
fastcgi_temp_file_write_size 32k;
|
14
angie/conf/fastcgi/cache-bypass.conf.j2
Normal file
14
angie/conf/fastcgi/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
|
||||
fastcgi_cache_bypass
|
||||
{%- for v in cache_bypass %}
|
||||
{{ v | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
fastcgi_no_cache
|
||||
{%- for v in cache_bypass %}
|
||||
{{ v | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
{%- endif -%}
|
2
angie/conf/fastcgi/headers.conf
Normal file
2
angie/conf/fastcgi/headers.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
include snip/fastcgi-request-headers;
|
||||
include snip/fastcgi-response-headers;
|
7
angie/conf/fastcgi/param.conf
Normal file
7
angie/conf/fastcgi/param.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
include snip/fastcgi.conf;
|
||||
|
||||
fastcgi_param PATH_INFO $path_info;
|
||||
|
||||
fastcgi_param AUTH_USER $remote_user;
|
||||
fastcgi_param REMOTE_USER $remote_user;
|
||||
fastcgi_param HTTP_HOST $host;
|
1
angie/conf/fastcgi/temp.conf
Normal file
1
angie/conf/fastcgi/temp.conf
Normal file
@@ -0,0 +1 @@
|
||||
fastcgi_temp_path /run/ngx/cache/temp_fastcgi 2 2;
|
Reference in New Issue
Block a user