diff --git a/_example/etc/handler-apache2.4.conf b/_example/etc/handler-apache2.4.conf index 4ed8f306c..e54bf757b 100644 --- a/_example/etc/handler-apache2.4.conf +++ b/_example/etc/handler-apache2.4.conf @@ -46,7 +46,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503 # # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/handler-apache2.X.conf b/_example/etc/handler-apache2.X.conf index a990691a1..035b4d467 100644 --- a/_example/etc/handler-apache2.X.conf +++ b/_example/etc/handler-apache2.X.conf @@ -63,7 +63,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503 # # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/handler-apache2.conf b/_example/etc/handler-apache2.conf index 1323e7a76..94a27d79d 100644 --- a/_example/etc/handler-apache2.conf +++ b/_example/etc/handler-apache2.conf @@ -53,7 +53,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503 # # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/handler-nginx.conf b/_example/etc/handler-nginx.conf index a3643f26e..bcc041dc5 100644 --- a/_example/etc/handler-nginx.conf +++ b/_example/etc/handler-nginx.conf @@ -50,7 +50,7 @@ server { deny all; # Uncomment this if you use https only - #add_header Strict-Transport-Security "15768000"; + #add_header Strict-Transport-Security "max-age=15768000"; } # Uncomment this if status is enabled diff --git a/_example/etc/manager-apache2.4.conf b/_example/etc/manager-apache2.4.conf index 81708be6d..adb89d0ad 100644 --- a/_example/etc/manager-apache2.4.conf +++ b/_example/etc/manager-apache2.4.conf @@ -94,5 +94,5 @@ # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/manager-apache2.X.conf b/_example/etc/manager-apache2.X.conf index 9f6d10359..25377f236 100644 --- a/_example/etc/manager-apache2.X.conf +++ b/_example/etc/manager-apache2.X.conf @@ -107,5 +107,5 @@ # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/manager-apache2.conf b/_example/etc/manager-apache2.conf index ef84ddf71..dc5453639 100644 --- a/_example/etc/manager-apache2.conf +++ b/_example/etc/manager-apache2.conf @@ -91,5 +91,5 @@ # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/manager-nginx.conf b/_example/etc/manager-nginx.conf index 21ba639d9..e192daa6a 100644 --- a/_example/etc/manager-nginx.conf +++ b/_example/etc/manager-nginx.conf @@ -36,7 +36,7 @@ server { #uwsgi_param SCRIPT_NAME $sc; # Uncomment this if you use https only - #add_header Strict-Transport-Security "15768000"; + #add_header Strict-Transport-Security "max-age=15768000"; } location / { diff --git a/_example/etc/portal-apache2.4.conf b/_example/etc/portal-apache2.4.conf index 735fd59bc..540eca15f 100644 --- a/_example/etc/portal-apache2.4.conf +++ b/_example/etc/portal-apache2.4.conf @@ -103,6 +103,6 @@ # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/portal-apache2.X.conf b/_example/etc/portal-apache2.X.conf index e843e3706..b326eefdd 100644 --- a/_example/etc/portal-apache2.X.conf +++ b/_example/etc/portal-apache2.X.conf @@ -128,6 +128,6 @@ # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/portal-apache2.conf b/_example/etc/portal-apache2.conf index 0c9122ab8..1ba0ee79d 100644 --- a/_example/etc/portal-apache2.conf +++ b/_example/etc/portal-apache2.conf @@ -104,6 +104,6 @@ # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/portal-nginx.conf b/_example/etc/portal-nginx.conf index d96eccc43..f3081a0ee 100644 --- a/_example/etc/portal-nginx.conf +++ b/_example/etc/portal-nginx.conf @@ -54,7 +54,7 @@ server { try_files $uri $uri/ =404; # Uncomment this if you use https only - #add_header Strict-Transport-Security max-age=15768000; + #add_header Strict-Transport-Security "max-age=15768000"; } location /static/ { diff --git a/_example/etc/test-apache2.4.conf b/_example/etc/test-apache2.4.conf index 522185c3b..d69f131d7 100644 --- a/_example/etc/test-apache2.4.conf +++ b/_example/etc/test-apache2.4.conf @@ -43,5 +43,5 @@ PerlModule Lemonldap::NG::Handler::ApacheMP2::Menu # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/test-apache2.X.conf b/_example/etc/test-apache2.X.conf index cfff40ae2..84ddac8e4 100644 --- a/_example/etc/test-apache2.X.conf +++ b/_example/etc/test-apache2.X.conf @@ -43,5 +43,5 @@ PerlModule Lemonldap::NG::Handler::ApacheMP2::Menu # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/test-apache2.conf b/_example/etc/test-apache2.conf index 5401e4eed..168e8a242 100644 --- a/_example/etc/test-apache2.conf +++ b/_example/etc/test-apache2.conf @@ -38,5 +38,5 @@ PerlModule Lemonldap::NG::Handler::ApacheMP2::Menu # Uncomment this if site if you use SSL only - #Header set Strict-Transport-Security 15768000 + #Header set Strict-Transport-Security "max-age=15768000" diff --git a/_example/etc/test-nginx.conf b/_example/etc/test-nginx.conf index 302c1c9cc..6b3382386 100644 --- a/_example/etc/test-nginx.conf +++ b/_example/etc/test-nginx.conf @@ -86,7 +86,7 @@ server { #fastcgi_param HTTP_COOKIE $lmcookie; # Uncomment this if you use https only - #add_header Strict-Transport-Security "15768000"; + #add_header Strict-Transport-Security "max-age=15768000"; # Set REMOTE_USER (for FastCGI apps only) #fastcgi_param REMOTE_USER $lmremote_user;