mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
Change DocumentRoot in apache configuration, and add permissions for /static.
This commit is contained in:
parent
13bbe7ea25
commit
f18d4a9e48
@ -22,7 +22,7 @@
|
||||
|
||||
## Use this rule to hang plinth off of plinth.(servername)
|
||||
## The DocumentRoot is set by fabric
|
||||
DocumentRoot /home/fbx/plinth/static
|
||||
DocumentRoot /home/fbx/plinth
|
||||
ServerName plinth
|
||||
ServerAlias plinth.*
|
||||
ProxyPreserveHost on
|
||||
@ -36,6 +36,14 @@
|
||||
Allow from 172.16.0.0/12
|
||||
Allow from 192.168.0.0/16
|
||||
</Proxy>
|
||||
<Location /static>
|
||||
Order Deny,Allow
|
||||
Deny from All
|
||||
Allow from 10.0.0.0/8
|
||||
Allow from 172.16.0.0/12
|
||||
Allow from 192.168.0.0/16
|
||||
Require all granted
|
||||
</Location>
|
||||
|
||||
## Use this rule to hang plinth off a subdir.
|
||||
## Make sure to provide plinth with a default directory: /plinth
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user