-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.htaccess
33 lines (30 loc) · 867 Bytes
/
.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
28
29
30
31
32
33
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.rune-nexus.com$ [NC]
RewriteRule ^(.*)$ https://rune-nexus.com/$1 [R=301,L]
RewriteRule ^(api|sitemap.xml|robots.txt|resources|crons)($|/) - [L]
RewriteRule ^$ public/ [L]
RewriteRule ((?s).*) public/$1 [L]
# Disable server signature
ServerSignature Off
Options -Indexes
#cloudflare ips
Allow from 173.245.48.0/20
Allow from 103.21.244.0/22
Allow from 103.22.200.0/22
Allow from 103.31.4.0/22
Allow from 141.101.64.0/18
Allow from 108.162.192.0/18
Allow from 190.93.240.0/20
Allow from 188.114.96.0/20
Allow from 197.234.240.0/22
Allow from 198.41.128.0/17
Allow from 162.158.0.0/15
Allow from 104.16.0.0/12
Allow from 172.64.0.0/13
Allow from 2400:cb00::/32
Allow from 2405:8100::/32
Allow from 2405:b500::/32
Allow from 2606:4700::/32
Allow from 2803:f800::/32
Allow from 2c0f:f248::/32
Allow from 2a06:98c0::/29