29 Jan 2019 |
TravisR | probably not. It should give you something helping. Might indicate that the reverse proxy isn't totally set uop | 04:23:17 |
tony | yeah, I think my lack of knowledge with setting up this server is getting in my way becuase I'm following some instructions from matrix.org | 04:24:02 |
tony | could this nginx thing be my problem you think? server { listen 80; server_name matrix.example.com; return 301 https://$server_name$request_uri; }
server { listen 443 ssl; listen [::]:443 ssl; server_name matrix.example.com;
ssl_certificate /etc/letsencrypt/live/matrix.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/matrix.example.com/privkey.pem;
# If you don't wanna serve a site, comment this out
root /var/www/html;
index index.html index.htm;
location /_matrix {
proxy_pass http://127.0.0.1:8008;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
| 04:24:32 |
tony | or maybe the ufw firewall that is set up? | 04:25:28 |
TravisR | It doesn't look like you have a proxy set up for the bridge itself | 04:26:54 |
tony | Mmmm, I didn't even know that was necessary (behold my utter lack of knowledge). | 04:28:02 |
tony | Well, I suppose I've been enough of a pain in the ass. I'm going to try to learn about how to set up a proxy, but I won't decline advice on how to do that if it's an easy thing someone can explain. | 04:36:02 |
TravisR | is the bridge running on the same machine as synapse? | 04:37:45 |
tony | yep | 04:37:54 |
TravisR | change the listen address in the bridge's config file to 127.0.0.1 (instead of 0.0.0.0 ) and add this to your nginx config:
location /api {
proxy_pass http://localhost:4501;
proxy_set_header X-Forwarded-For $remote_addr;
}
then your domain will be matrix.example.org . Changing this isn't impossible, but more involved than a single chat message :p
| 04:39:29 |
tony | Great. I'll try it. Do you mean that I should put matrix.example.org in the bridge's config file instead of my own domain? | 04:41:13 |
TravisR | shouldn't have to. Might need to change the thing on Twilio though | 04:41:41 |
tony | I'll mess around with it. Thanks. | 04:41:55 |
tony | the listen address is the "host" right? | 04:43:02 |
TravisR | yea | 04:44:10 |
tony | Thanks for the help. I've got it working now. Didn't have to do anything with matrix.example.org (I'm not really sure what you meant by that tbh).
Looking forward to the point where this is slick and polished and works with voice calls!
Do people like you who work on projects like this use something like Patreon? Seems like it would be a good way to encourage development of apps and functionality for something like the librem 5 and make it worth your time. | 05:35:58 |
TravisR | in practice I spend most of my time running t2bot.io, which is where this bridge is eventually landing. Donations towards that (which still go towards me, and paying operating costs of t2bot.io first) can be made here: https://t2bot.io/donate/ | 05:38:21 |
tony | Oh, so you have a lot going on, I see. I'll have a look at it all, and thanks again! | 05:40:40 |
TravisR | I do tend to collect projects ._. | 05:41:05 |
tony | One last thing: How do you get the bridge to keep running once you close the terminal? Isn't there some command to run stuff like that in the background? | 05:42:32 |
TravisR | depends on a variety of things, but some people use systemd, forever (from npm), or screen managers like screen and tmux | 05:43:23 |
| tony joined the room. | 19:11:27 |
30 Jan 2019 |
| tony set a profile picture. | 22:05:42 |
3 Feb 2019 |
| dikeat142 joined the room. | 05:44:06 |
16 Feb 2019 |
| @tomey:nethole.us changed their profile picture. | 01:59:04 |
21 Feb 2019 |
Jeremy | Is voice conferencing on the roadmap? | 22:17:02 |
18 Feb 2019 |
| @tomey:nethole.us left the room. | 14:57:29 |
21 Feb 2019 |
| thomas-ghjkl joined the room. | 12:30:41 |
thomas-ghjkl | Hello | 12:34:58 |
thomas-ghjkl | I installed this promising appservice | 12:35:14 |