initial commit
This commit is contained in:
25
angie/conf/http-ssl.conf.j2
Normal file
25
angie/conf/http-ssl.conf.j2
Normal file
@@ -0,0 +1,25 @@
|
||||
include conf/ssl/*.conf;
|
||||
|
||||
## lowering from 16k to 4k to improve time-to-first-byte
|
||||
ssl_buffer_size 4k;
|
||||
|
||||
{%- if env.NGX_HTTP_SSL_PROFILE %}
|
||||
include snip/ssl-{{ env.NGX_HTTP_SSL_PROFILE }};
|
||||
{%- endif %}
|
||||
|
||||
{%- if j2cfg.tls.stapling.enable %}
|
||||
ssl_stapling on;
|
||||
{%- if j2cfg.tls.stapling.verify %}
|
||||
ssl_stapling_verify on;
|
||||
{%- else %}
|
||||
ssl_stapling_verify off;
|
||||
{%- endif %}
|
||||
{%- if j2cfg.tls.stapling.file %}
|
||||
ssl_stapling_file {{ j2cfg.tls.stapling.file | ngx_esc }};
|
||||
{%- endif %}
|
||||
{%- if j2cfg.tls.stapling.responder %}
|
||||
ssl_stapling_responder {{ j2cfg.tls.stapling.responder | ngx_esc }};
|
||||
{%- endif %}
|
||||
{%- else %}
|
||||
ssl_stapling off;
|
||||
{%- endif %}
|
Reference in New Issue
Block a user