mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-21 16:38:36 -06:00
15 lines
305 B
ApacheConf
15 lines
305 B
ApacheConf
# Optional: force HTTPS:
|
|
# <IfModule mod_rewrite.c>
|
|
# RewriteEngine On
|
|
# RewriteCond %{HTTPS} off
|
|
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
|
|
# </IfModule>
|
|
|
|
# To hide directory listing
|
|
Options All -Indexes
|
|
|
|
# To prevent access to .env and other files
|
|
<Files .*>
|
|
Deny from all
|
|
</Files>
|