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