-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtaccess.conf
94 lines (65 loc) · 2.48 KB
/
htaccess.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# htaccess.conf
#
# This file defines which .htaccess module partials
# are enabled or disabled.
#
# Each entry consists of a "keyword" and "filename",
# separated by at least one space character.
#
# - keyword: one of "title", "enable", "disable", or "omit".
# - filename: may be quoted if the filename has spaces.
#
# Example:
#
# title "cross-origin"
# enable "path/to/a.conf"
# disable "path/to/b.conf"
# omit "path/to/not-needed.conf"
# ----------------------------------------------------------------------
# | Partials definitions |
# ----------------------------------------------------------------------
# Module "cross-origin"
title "cross-origin"
enable "src/cross-origin/requests.conf"
enable "src/cross-origin/images.conf"
enable "src/cross-origin/web_fonts.conf"
enable "src/cross-origin/resource_timing.conf"
# Module "errors"
title "errors"
disable "src/errors/custom_errors.conf"
enable "src/errors/error_prevention.conf"
# Module "internet explorer"
title "internet explorer"
enable "src/internet_explorer/x-ua-compatible.conf"
# Module "media types and character encodings"
title "media types and character encodings"
enable "src/media_types/media_types.conf"
enable "src/media_types/character_encodings.conf"
# Module "rewrites"
title "rewrites"
enable "src/rewrites/rewrite_engine.conf"
disable "src/rewrites/rewrite_http_to_https.conf"
enable "src/rewrites/rewrite_nowww.conf"
disable "src/rewrites/rewrite_www.conf"
# Module "security"
title "security"
enable "src/security/x-frame-option.conf"
enable "src/security/content-security-policy.conf"
enable "src/security/file_access.conf"
enable "src/security/strict-transport-security.conf"
enable "src/security/x-content-type-option.conf"
enable "src/security/x-xss-protection.conf"
enable "src/security/referrer-policy.conf"
disable "src/security/trace_method.conf"
enable "src/security/x-powered-by.conf"
enable "src/security/server_software_information.conf"
# Module "web performance"
title "web performance"
enable "src/web_performance/compression.conf"
disable "src/web_performance/pre-compressed_content_brotli.conf"
disable "src/web_performance/pre-compressed_content_gzip.conf"
disable "src/web_performance/content_transformation.conf"
enable "src/web_performance/etags.conf"
enable "src/web_performance/cache_expiration.conf"
disable "src/web_performance/file_concatenation.conf"
disable "src/web_performance/filename-based_cache_busting.conf"