1
0
mirror of https://github.com/insomniafi/fallback synced 2024-12-22 16:43:19 +00:00
insomniafi-fallback/.htaccess

14 lines
368 B
ApacheConf
Raw Normal View History

2023-05-10 16:20:28 +00:00
<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.html [NC,L,QSA]
</IfModule>