mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/nginx: remove hardcoded HSTS header (#1207)
This commit is contained in:
@@ -16,6 +16,7 @@ Plugin Changelog
|
||||
* Breaking: the enabled flag in the general setting now works (en- or disables all vhosts in the plugin itself, but always serves plugins). Default was false so make sure you have it enabled before upgrade.
|
||||
* Alias support for downstream proxies (trust setting)
|
||||
* bugfix: deleting IP ACL
|
||||
* HSTS not sent automatically anymore if HTTP over TLS is configured (still available via security header)
|
||||
|
||||
1.7
|
||||
|
||||
|
||||
@@ -89,7 +89,6 @@ server {
|
||||
ssl_session_cache shared:SSL:50m;
|
||||
ssl_session_tickets off;
|
||||
ssl_prefer_server_ciphers on;
|
||||
add_header Strict-Transport-Security max-age=15768000;
|
||||
{% do our_headers.append('Strict-Transport-Security') %}
|
||||
sendfile {% if server.sendfile is defined and server.sendfile == '1' %}On{% else %}Off{% endif %};
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user