mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
fix
This commit is contained in:
parent
a986570569
commit
9d2b2900cb
2 changed files with 8 additions and 3 deletions
|
@ -43,7 +43,7 @@
|
|||
"EnableMultifactorAuthentication": false,
|
||||
"EnforceMultifactorAuthentication": false,
|
||||
"EnableUserAccessTokens": false,
|
||||
"AllowCorsFrom": "",
|
||||
"AllowCorsFrom": "__DOMAIN__",
|
||||
"CorsExposedHeaders": "",
|
||||
"CorsAllowCredentials": false,
|
||||
"CorsDebug": false,
|
||||
|
|
|
@ -21,9 +21,14 @@ location ~ ^__PATH__/api/v[0-9]+/(users/)?websocket$ {
|
|||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
}
|
||||
|
||||
location __PATH__/ {
|
||||
client_max_body_size 100M;
|
||||
location ~* ^__PATH__/ {
|
||||
client_max_body_size 250M;
|
||||
proxy_set_header Connection "";
|
||||
|
||||
if ($request_method = HEAD) {
|
||||
return 200;
|
||||
}
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
Loading…
Add table
Reference in a new issue