Reverse proxy: Etebase add admin page + Remove Matrix to Element redirection.
This commit is contained in:
parent
fc7e2ec06d
commit
bf6b958ed7
1 changed files with 2 additions and 6 deletions
|
@ -85,7 +85,7 @@ server {
|
||||||
|
|
||||||
server_name etebase.{{ domain }};
|
server_name etebase.{{ domain }};
|
||||||
|
|
||||||
location ~ ^/(?!admin) {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:{{ ports['etebase'] }};
|
proxy_pass http://127.0.0.1:{{ ports['etebase'] }};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -135,17 +135,13 @@ server {
|
||||||
|
|
||||||
server_name matrix.{{ domain }};
|
server_name matrix.{{ domain }};
|
||||||
|
|
||||||
location ~ ^(/_matrix|/_synapse/client) {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:{{ ports['synapse'] }};
|
proxy_pass http://127.0.0.1:{{ ports['synapse'] }};
|
||||||
|
|
||||||
# Nginx by default only allows file uploads up to 1M in size
|
# Nginx by default only allows file uploads up to 1M in size
|
||||||
# Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
|
# Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
|
||||||
client_max_body_size {{ synapse['max_upload_size'] }};
|
client_max_body_size {{ synapse['max_upload_size'] }};
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
|
||||||
return 308 https://element.{{ domain }}/;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue