Update conf files
This commit is contained in:
parent
ec7ae5f3d6
commit
fbce8a4c2c
|
@ -46,7 +46,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
|
||||||
#</Location>
|
#</Location>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
|
||||||
#</Location>
|
#</Location>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
|
||||||
#</Location>
|
#</Location>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ server {
|
||||||
deny all;
|
deny all;
|
||||||
|
|
||||||
# Uncomment this if you use https only
|
# 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
|
# Uncomment this if status is enabled
|
||||||
|
|
|
@ -94,5 +94,5 @@
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
|
@ -107,5 +107,5 @@
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
|
@ -91,5 +91,5 @@
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
|
@ -36,7 +36,7 @@ server {
|
||||||
#uwsgi_param SCRIPT_NAME $sc;
|
#uwsgi_param SCRIPT_NAME $sc;
|
||||||
|
|
||||||
# Uncomment this if you use https only
|
# Uncomment this if you use https only
|
||||||
#add_header Strict-Transport-Security "15768000";
|
#add_header Strict-Transport-Security "max-age=15768000";
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
|
@ -103,6 +103,6 @@
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
|
@ -128,6 +128,6 @@
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
|
@ -104,6 +104,6 @@
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ server {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
|
|
||||||
# Uncomment this if you use https only
|
# 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/ {
|
location /static/ {
|
||||||
|
|
|
@ -43,5 +43,5 @@ PerlModule Lemonldap::NG::Handler::ApacheMP2::Menu
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
|
@ -43,5 +43,5 @@ PerlModule Lemonldap::NG::Handler::ApacheMP2::Menu
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
|
@ -38,5 +38,5 @@ PerlModule Lemonldap::NG::Handler::ApacheMP2::Menu
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# Uncomment this if site if you use SSL only
|
# Uncomment this if site if you use SSL only
|
||||||
#Header set Strict-Transport-Security 15768000
|
#Header set Strict-Transport-Security "max-age=15768000"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
|
@ -86,7 +86,7 @@ server {
|
||||||
#fastcgi_param HTTP_COOKIE $lmcookie;
|
#fastcgi_param HTTP_COOKIE $lmcookie;
|
||||||
|
|
||||||
# Uncomment this if you use https only
|
# 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)
|
# Set REMOTE_USER (for FastCGI apps only)
|
||||||
#fastcgi_param REMOTE_USER $lmremote_user;
|
#fastcgi_param REMOTE_USER $lmremote_user;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user