mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-24 22:26:13 +03:00
.well-known/element
This commit is contained in:
@@ -18,7 +18,7 @@ server {
|
|||||||
root /var/www/certbot;
|
root /var/www/certbot;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known/matrix/ {
|
location ~ ^/.well-known/(matrix|element)/ {
|
||||||
root /var/www;
|
root /var/www;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ server {
|
|||||||
return 302 https://${ELEMENT_WEB_FQDN};
|
return 302 https://${ELEMENT_WEB_FQDN};
|
||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known/matrix/ {
|
location ~ ^/.well-known/(matrix|element)/ {
|
||||||
root /var/www;
|
root /var/www;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
5
data-template/nginx/www/.well-known/element/element.json
Normal file
5
data-template/nginx/www/.well-known/element/element.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"call": {
|
||||||
|
"widget_url": "https://${ELEMENT_CALL_FQDN}"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user