302 to element

This commit is contained in:
Matthew Hodgson
2024-11-08 19:17:39 +00:00
parent 408659970d
commit 0519893f59

View File

@@ -40,6 +40,10 @@ server {
include /etc/nginx/conf.d/include/ssl.conf; include /etc/nginx/conf.d/include/ssl.conf;
location = / {
return 302 https://${ELEMENT_WEB_FQDN};
}
location /.well-known/matrix/ { location /.well-known/matrix/ {
root /var/www; root /var/www;
} }