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

27 lines
619 B
Plaintext
Raw Normal View History

2022-01-23 21:49:01 +01:00
<VirtualHost *:80>
ServerName first.domaine.com
ServerAlias second.domaine.com
ServerAlias third.domaine.com
DocumentRoot /usr/lib/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/lib/element-web>
Options none
AllowOverride None
Require all granted
</directory>
<directory /etc/element-web>
Options none
AllowOverride None
Require all granted
</directory>
</VirtualHost>