Cleaned up some missing services by removing sensitive data into .env files
This commit is contained in:
17
synapse/nginx/matrix.conf
Normal file
17
synapse/nginx/matrix.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name nearfuture.industries;
|
||||
|
||||
# Traefik -> nginx -> synapse
|
||||
location /_matrix {
|
||||
proxy_pass http://synapse:8008;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
client_max_body_size 128m;
|
||||
}
|
||||
|
||||
location /.well-known/matrix/ {
|
||||
root /var/www/;
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
}
|
||||
6
synapse/nginx/www/.well-known/matrix/client
Normal file
6
synapse/nginx/www/.well-known/matrix/client
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"m.homeserver": {
|
||||
"base_url": "https://nearfuture.industries"
|
||||
}
|
||||
}
|
||||
|
||||
4
synapse/nginx/www/.well-known/matrix/server
Normal file
4
synapse/nginx/www/.well-known/matrix/server
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"m.server": "synapse.nearfuture.industries:443"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user