Added redirection to medicenlutte.fr website when requesting index path
This commit is contained in:
1 file changed
+14
-1
@@ -5,8 +5,21 @@ server {
|
|||||||
|
|
||||||
client_max_body_size 5G;
|
client_max_body_size 5G;
|
||||||
|
|
||||||
location / {
|
location /_matrix {
|
||||||
include "proxy_params";
|
include "proxy_params";
|
||||||
proxy_pass http://unix:/run/conduwuit/conduwuit.sock:$request_uri;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user