mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-22 08:56:39 -06:00
13 lines
250 B
ApacheConf
13 lines
250 B
ApacheConf
|
# To force HTTPS
|
||
|
RewriteEngine On
|
||
|
RewriteCond %{HTTPS} off
|
||
|
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
|
||
|
|
||
|
# To hide directory listing
|
||
|
Options All -Indexes
|
||
|
|
||
|
# To prevent access to .env and other files
|
||
|
<Files .*>
|
||
|
Deny from all
|
||
|
</Files>
|