mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
apache: Allow customization to the root of a site
Tests: - After a domain is added and a TLS configuration for the site is created, creating each of the 4 files leads to customization for that domain. In case of last two files, only the domain is effected. - /etc/apache2/includes/all-domains-include-freedombox.conf - /etc/apache2/includes/all-domains-include.conf - /etc/apache2/includes/$domain-include-freedombox.conf - /etc/apache2/includes/$domain-include.conf Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
2fdbe9948d
commit
8401b08357
@ -25,6 +25,19 @@
|
||||
<Directory /usr/lib/cgi-bin>
|
||||
SSLOptions +StdEnvVars
|
||||
</Directory>
|
||||
|
||||
<IfFile /etc/apache2/includes/all-domains-include-freedombox.conf>
|
||||
Include includes/all-domains-include-freedombox.conf
|
||||
</IfFile>
|
||||
<IfFile /etc/apache2/includes/all-domains-include.conf>
|
||||
Include includes/all-domains-include.conf
|
||||
</IfFile>
|
||||
<IfFile /etc/apache2/includes/$domain-include-freedombox.conf>
|
||||
Include includes/$domain-include-freedombox.conf
|
||||
</IfFile>
|
||||
<IfFile /etc/apache2/includes/$domain-include.conf>
|
||||
Include includes/$domain-include.conf
|
||||
</IfFile>
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
</Macro>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user