mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
17 lines
374 B
Plaintext
17 lines
374 B
Plaintext
<VirtualHost *:80>
|
|
|
|
## Force SSL
|
|
RewriteEngine on
|
|
ReWriteCond %{SERVER_PORT} !^443$
|
|
ReWriteCond %{REQUEST_URI} ^/plinth
|
|
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
|
|
|
|
## Shared options.
|
|
DocumentRoot /dev/null
|
|
|
|
## Use this rule to hang plinth off of plinth.(servername)
|
|
# ServerName plinth
|
|
# ServerAlias plinth.*
|
|
|
|
</VirtualHost>
|