mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
apache: Move freedombox.conf configuration to Plinth
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
d6f79b96be
commit
7b75e97e96
11
data/etc/apache2/conf-available/freedombox.conf
Normal file
11
data/etc/apache2/conf-available/freedombox.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
##
|
||||||
|
## Enable HSTS, even for subdomains.
|
||||||
|
##
|
||||||
|
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains" env=HTTPS
|
||||||
|
|
||||||
|
##
|
||||||
|
## Redirect traffic on home to /plinth as part of turning the machine
|
||||||
|
## into FreedomBox server. Plinth then acts as a portal to reach all
|
||||||
|
## other services.
|
||||||
|
##
|
||||||
|
RedirectMatch "^/$" "/plinth"
|
||||||
Loading…
x
Reference in New Issue
Block a user