mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-15 17:58:17 -07:00
Update nginx configuration to allow for larger uploads.
This commit is contained in:
parent
876fdf480d
commit
238ebcfcac
@ -214,6 +214,9 @@ server {
|
|||||||
server_name your.server.name; # EDIT THIS
|
server_name your.server.name; # EDIT THIS
|
||||||
merge_slashes off;
|
merge_slashes off;
|
||||||
|
|
||||||
|
# Nginx default to only allow 1MB uploads.
|
||||||
|
client_max_body_size 20M;
|
||||||
|
|
||||||
location /_matrix/ {
|
location /_matrix/ {
|
||||||
proxy_pass http://127.0.0.1:6167$request_uri;
|
proxy_pass http://127.0.0.1:6167$request_uri;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
|
Loading…
Reference in New Issue
Block a user