debmaker/ressources/element-web/rootfs/usr/share/doc/element-web/apache2-element-web.conf

27 lines
623 B
Plaintext

<VirtualHost *:80>
ServerName first.domaine.com
ServerAlias second.domaine.com
ServerAlias third.domaine.com
DocumentRoot /usr/share/element-web
Protocols h2c http/1.1
#default config ie first and third domaine
Alias /config.json /etc/element-web/config.json
#config for second domaine
Alias /config.second.domaine.com.json /etc/element-web/config.second.domaine.com.json
<directory /usr/share/element-web>
Options none
AllowOverride None
Require all granted
</directory>
<directory /etc/element-web>
Options none
AllowOverride None
Require all granted
</directory>
</VirtualHost>