forked from Fediversity/Fediversity
Layout corrected.
This commit is contained in:
parent
76d4e1b29f
commit
a58b3ac17f
|
@ -58,29 +58,29 @@ server {
|
|||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/ssl/dhparams.pem;
|
||||
|
||||
server_name matrixdev.procolix.com;
|
||||
server_name matrixdev.procolix.com;
|
||||
|
||||
location /.well-known/matrix/client {
|
||||
return 200 '{
|
||||
"m.homeserver": {"base_url": "https://vm02199.procolix.com"},
|
||||
"org.matrix.msc3575.proxy": {"url": "https://vm02199.procolix.com"}
|
||||
}';
|
||||
default_type application/json;
|
||||
location /.well-known/matrix/client {
|
||||
return 200 '{
|
||||
"m.homeserver": {"base_url": "https://vm02199.procolix.com"},
|
||||
"org.matrix.msc3575.proxy": {"url": "https://vm02199.procolix.com"}
|
||||
}';
|
||||
default_type application/json;
|
||||
}
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
return 200 '{"m.server": "vm02199.procolix.com"}';
|
||||
default_type application/json;
|
||||
}
|
||||
|
||||
location / {
|
||||
if ($scheme = http) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
return 200 '{"m.server": "vm02199.procolix.com"}';
|
||||
default_type application/json;
|
||||
}
|
||||
|
||||
location / {
|
||||
if ($scheme = http) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
access_log /var/log/nginx/matrixdev-access.log;
|
||||
error_log /var/log/nginx/matrixdev-error.log;
|
||||
access_log /var/log/nginx/matrixdev-access.log;
|
||||
error_log /var/log/nginx/matrixdev-error.log;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue