mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-04-29 03:27:47 +00:00
46 lines
1.7 KiB
Plaintext
46 lines
1.7 KiB
Plaintext
#
|
|
# This configuration file allows a diskfull install to access the install images
|
|
# via http. It also allows the xCAT documentation to be accessed via
|
|
# http://localhost/xcat-doc/
|
|
# Updates to xCAT/xcat.conf should also be made to xCATsn/xcat.conf
|
|
#
|
|
AliasMatch ^/install/(.*)$ "/install/$1"
|
|
AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
|
|
|
<Directory "/tftpboot">
|
|
AllowOverride None
|
|
Order allow,deny
|
|
Allow from all
|
|
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
|
|
Header always append Content-Security-Policy "script-src 'self' 'unsafe-eval'"
|
|
Header always append X-Permitted-Cross-Domain-Policies none
|
|
</Directory>
|
|
<Directory "/install">
|
|
AllowOverride None
|
|
Order allow,deny
|
|
Allow from all
|
|
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
|
|
Header always append Content-Security-Policy "script-src 'self' 'unsafe-eval'"
|
|
Header always append X-Permitted-Cross-Domain-Policies none
|
|
</Directory>
|
|
|
|
Alias /xcat-doc "/opt/xcat/share/doc"
|
|
<Directory "/opt/xcat/share/doc">
|
|
AllowOverride None
|
|
Order allow,deny
|
|
Allow from all
|
|
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
|
|
Header always append Content-Security-Policy "script-src 'self' 'unsafe-eval'"
|
|
Header always append X-Permitted-Cross-Domain-Policies none
|
|
</Directory>
|
|
ServerTokens Prod
|