update, btw
This commit is contained in:
18
readme.org
18
readme.org
@@ -35,3 +35,21 @@ Test federation: https://federationtester.matrix.org
|
||||
- Registration disabled by default (=enable_registration = false=)
|
||||
- PostgreSQL configured automatically
|
||||
- Intended usecase ipv6 lxc container with remote reverse proxy
|
||||
|
||||
* NGINX Reverse Proxy Configurarion
|
||||
- Create nginx config with this location
|
||||
- issue Lets Encrypt cert via certbot for example
|
||||
- nginx will handle everything
|
||||
|
||||
#+begin_src sh
|
||||
location / {
|
||||
proxy_pass https://[ipv6_lxc];
|
||||
proxy_ssl_verify off;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
# Increase body size for media uploads (federation can send large files too)
|
||||
client_max_body_size 100M;
|
||||
}
|
||||
#+end_src
|
||||
Reference in New Issue
Block a user