25 lines
447 B
Plaintext
25 lines
447 B
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name matrix.medicenlutte.fr;
|
|
|
|
client_max_body_size 5G;
|
|
|
|
location /_matrix {
|
|
include "proxy_params";
|
|
proxy_pass http://unix:/run/conduwuit/conduwuit.sock:$request_uri;
|
|
}
|
|
|
|
location /_continuwuity {
|
|
include "proxy_params";
|
|
proxy_pass http://unix:/run/conduwuit/conduwuit.sock:$request_uri;
|
|
}
|
|
|
|
location = / {
|
|
return 302 https://medicenlutte.fr/matrix/;
|
|
}
|
|
|
|
location / {
|
|
return 404;
|
|
}
|
|
} |