1
0
mirror of https://github.com/insomniafi/extra synced 2025-06-14 02:54:23 +00:00
Files
insomniafi-extra/.htaccess
Christer Warén a9e446d9a2 Update .htaccess
2024-01-03 08:52:40 +02:00

14 lines
367 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>