mirror of
https://github.com/insomniafi/extra
synced 2024-12-22 18:33:16 +00:00
15 lines
368 B
ApacheConf
15 lines
368 B
ApacheConf
|
<IfModule mod_rewrite.c>
|
||
|
RewriteEngine On
|
||
|
RewriteOptions IgnoreInherit
|
||
|
|
||
|
RewriteEngine On
|
||
|
RewriteCond %{ENV:HTTPS} !on
|
||
|
RewriteCond %{REQUEST_URI} !^/?\.well-known/acme-challenge/
|
||
|
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
|
||
|
|
||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||
|
RewriteRule ^(.*)$ index.php [NC,L,QSA]
|
||
|
|
||
|
</IfModule>
|