-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
27 lines (22 loc) · 2.04 KB
/
.htaccess
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
<IfModule mod_headers.c>
Header always set Content-Security-Policy "default-src 'self' *.vmaxleclub.com; img-src 'self' *.vmaxleclub.com https://www.paypalobjects.com/fr_FR/FR/i/btn/btn_paynowCC_LG.gif; style-src 'self' *.vmaxleclub.com 'nonce-accuaALiVx8xsgqaSFVTDCYRXImtLUlz' 'nonce-mainwSsK7dHdOu4bZhwxA5Mc8ww9GBmy' 'nonce-contsq27yAOIvW5T4uRjMcUoHdFzTFCX' 'nonce-adheJZ4Z0FexMGWR5QapLkFCw7gUlzAW' 'nonce-cale5jonGyKHtXYszeicXk9lgT5C1fje'; frame-ancestors 'self'"
Header always set X-Frame-Options "SAMEORIGIN"
Header always set Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" env=HTTPS
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "strict-origin"
Header always set Permissions-Policy "geolocation=()"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^maintenance\.vmaxleclub\.com
RewriteRule ^(.*)$ https://maintenance.vmaxleclub.com/$1 [R=301,L]
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?vmaxleclub\.com
RewriteRule ^(.*)$ https://vmaxleclub.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^vmaxleclub\.com
RewriteRule ^(.*)$ https://www.vmaxleclub.com/$1 [R=301,L]
</IfModule>
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE "application/atom+xml" "application/javascript" "application/json" "application/ld+json" "application/manifest+json" "application/rdf+xml" "application/rss+xml" "application/schema+json" "application/vnd.geo+json" "application/vnd.ms-fontobject" "application/x-font-ttf" "application/x-javascript" "application/x-web-app-manifest+json" "application/xhtml+xml" "application/xml" "font/eot" "font/opentype" "image/bmp" "image/svg+xml" "image/vnd.microsoft.icon" "image/x-icon" "text/cache-manifest" "text/css" "text/html" "text/javascript" "text/plain" "text/vcard" "text/vnd.rim.location.xloc" "text/vtt" "text/x-component" "text/x-cross-domain-policy" "text/xml"