1
0

initial commit

This commit is contained in:
2025-06-05 11:01:19 +03:00
commit 48f13f97a3
297 changed files with 7136 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
scgi_buffers 16 16k;
scgi_buffer_size 16k;
scgi_busy_buffers_size 32k;
scgi_temp_file_write_size 32k;

View 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 -%}

View File

@@ -0,0 +1,2 @@
include snip/scgi-request-headers;
include snip/scgi-response-headers;

View 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;

View File

@@ -0,0 +1 @@
scgi_temp_path /run/ngx/cache/temp_scgi 2 2;