mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-11 20:58:25 +00:00
Fix the apache header configuration.
This commit is contained in:
@@ -10,7 +10,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
<Directory "/tftpboot">
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
Options Indexes FollowSymLinks
|
||||
Options -Indexes +FollowSymLinks
|
||||
Header always append X-Frame-Options SAMEORIGIN
|
||||
Header always append X-XSS-Protection "1; mode=block"
|
||||
Header always append X-Content-Type-Options nosniff
|
||||
@@ -18,10 +18,9 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
Header always append X-Permitted-Cross-Domain-Policies none
|
||||
</Directory>
|
||||
<Directory "/install">
|
||||
Options Indexes FollowSymLinks Includes MultiViews
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
Options Indexes +FollowSymLinks
|
||||
Options -Indexes +FollowSymLinks
|
||||
Header always append X-Frame-Options SAMEORIGIN
|
||||
Header always append X-XSS-Protection "1; mode=block"
|
||||
Header always append X-Content-Type-Options nosniff
|
||||
@@ -33,7 +32,7 @@ Alias /xcat-doc "/opt/xcat/share/doc"
|
||||
<Directory "/opt/xcat/share/doc">
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
Options Indexes +FollowSymLinks
|
||||
Options -Indexes +FollowSymLinks
|
||||
Header always append X-Frame-Options SAMEORIGIN
|
||||
Header always append X-XSS-Protection "1; mode=block"
|
||||
Header always append X-Content-Type-Options nosniff
|
||||
|
Reference in New Issue
Block a user