mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
9 lines
360 B
Text
9 lines
360 B
Text
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 %}
|