initial commit
This commit is contained in:
4
angie/conf/uwsgi/buffers.conf
Normal file
4
angie/conf/uwsgi/buffers.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
uwsgi_buffers 16 16k;
|
||||
uwsgi_buffer_size 16k;
|
||||
uwsgi_busy_buffers_size 32k;
|
||||
uwsgi_temp_file_write_size 32k;
|
14
angie/conf/uwsgi/cache-bypass.conf.j2
Normal file
14
angie/conf/uwsgi/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
|
||||
uwsgi_cache_bypass
|
||||
{%- for v in cache_bypass %}
|
||||
{{ v | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
uwsgi_no_cache
|
||||
{%- for v in cache_bypass %}
|
||||
{{ v | ngx_esc }}
|
||||
{%- endfor %}
|
||||
;
|
||||
{%- endif -%}
|
2
angie/conf/uwsgi/headers.conf
Normal file
2
angie/conf/uwsgi/headers.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
include snip/uwsgi-request-headers;
|
||||
include snip/uwsgi-response-headers;
|
7
angie/conf/uwsgi/param.conf
Normal file
7
angie/conf/uwsgi/param.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
include snip/uwsgi_params;
|
||||
|
||||
uwsgi_param PATH_INFO $path_info;
|
||||
|
||||
uwsgi_param AUTH_USER $remote_user;
|
||||
uwsgi_param REMOTE_USER $remote_user;
|
||||
uwsgi_param HTTP_HOST $host;
|
7
angie/conf/uwsgi/ssl.conf.j2
Normal file
7
angie/conf/uwsgi/ssl.conf.j2
Normal file
@@ -0,0 +1,7 @@
|
||||
{%- for k, v in j2cfg.tls.conf_cmd|dictsort %}
|
||||
uwsgi_ssl_conf_command {{ k }} {{ v | ngx_esc }};
|
||||
{%- endfor %}
|
||||
|
||||
uwsgi_ssl_trusted_certificate {{ env.NGX_SSL_CERT_FILE }};
|
||||
uwsgi_ssl_verify on;
|
||||
uwsgi_ssl_server_name on;
|
1
angie/conf/uwsgi/temp.conf
Normal file
1
angie/conf/uwsgi/temp.conf
Normal file
@@ -0,0 +1 @@
|
||||
uwsgi_temp_path /run/ngx/cache/temp_uwsgi 2 2;
|
Reference in New Issue
Block a user