7 Feb 2021 |
Oliverb | thats what i mean, okay i give it a try should run in a lxc container | 17:53:22 |
Oliverb | at wich point you install nginx? | 18:09:37 |
Oliverb | im now on step 4 | 18:09:52 |
natrius | I thought you did read the tutorial beforehand? | 18:09:59 |
Oliverb | yes i start with a new server | 18:10:21 |
natrius | And its step 5 | 18:10:21 |
natrius | If you did read it beforehand you would already know its step 5 :D | 18:10:37 |
Oliverb | but why you make a systemctl stop nginx.service on step 4 | 18:11:05 |
Oliverb | there is nothing to stop | 18:11:23 |
natrius | Then, just go on. | 18:11:33 |
natrius | Some people are installing it on an already existing server with nginx already present. | 18:12:03 |
natrius | Thats why the stop is there. | 18:12:11 |
natrius | I mean, i have even written the explanation
If nginx is installed first, lets stop nginx so certbot can listen to port 80
| 18:12:39 |
Oliverb | server { listen 80; server_name bin-bash.ch; return 301 https://$server_name$request_uri; }
server { listen 443 ssl; listen [::]:443 ssl; server_name bin-bash.ch;
ssl_certificate /etc/letsencrypt/live/bin-bash.ch/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/bin-bash.ch/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;
}
location /.well-known/matrix/server {
return 200 '{"m.server": "matrix.bin-bash.ch:443"}';
add_header Content-Type application/json;
}
location /.well-known/matrix/client {
return 200 '{"m.homeserver": {"base_url": "https://bin-bash.ch"},"m.identity_server": {"base_url": "https://vector.im"}}';
add_header Content-Type application/json;
add_header "Access-Control-Allow-Origin" *;
}
}
| 18:28:29 |
Oliverb | is this ok. can you pls take a eye on it? | 18:28:54 |
Oliverb | Download image.png | 18:31:05 |
Oliverb | thats. not okay | 18:35:35 |
Oliverb | federation is not working | 18:42:08 |
Oliverb | Download image.png | 18:47:29 |
Oliverb | Download image.png | 18:54:42 |
Oliverb | same problem like i have all the time | 18:55:01 |
Oliverb | creat a user on the cli cant loggin with them. | 18:55:27 |
natrius | So, everything worked you just can't log in now with the user you succesfully created? | 19:22:51 |
natrius | was playing VR :D | 19:22:54 |
Oliverb | yes | 19:28:08 |
Oliverb | and fderation are not working | 19:28:19 |
natrius | And additionally federation is not working | 19:28:24 |
natrius | thats probably the reason | 19:28:28 |
natrius | why? The error? | 19:28:34 |
Oliverb | Download image.png | 19:29:10 |