mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
10 lines
361 B
Plaintext
10 lines
361 B
Plaintext
listen 0.0.0.0:443 ssl {% if HTTP2 == "yes" %}http2{% endif %};
|
|
ssl_certificate {{ HTTPS_CUSTOM_CERT }};
|
|
ssl_certificate_key {{ HTTPS_CUSTOM_KEY }};
|
|
ssl_protocols TLSv1.3;
|
|
ssl_prefer_server_ciphers off;
|
|
ssl_session_tickets off;
|
|
{% if STRICT_TRANSPORT_SECURITY != "" +%}
|
|
more_set_headers 'Strict-Transport-Security: {{ STRICT_TRANSPORT_SECURITY }}';
|
|
{% endif %}
|