equal
deleted
inserted
replaced
35 gzip_http_version 1.1; |
35 gzip_http_version 1.1; |
36 gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml; |
36 gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml; |
37 |
37 |
38 # the nginx default is 1m, not enough for large media uploads |
38 # the nginx default is 1m, not enough for large media uploads |
39 client_max_body_size 16m; |
39 client_max_body_size 16m; |
40 |
|
41 location /.well-known { |
|
42 return 404; |
|
43 } |
|
44 |
|
45 location /_matrix { |
|
46 return 404; |
|
47 } |
|
48 |
40 |
49 location = / { |
41 location = / { |
50 return 301 http://www.$host$request_uri; |
42 return 301 http://www.$host$request_uri; |
51 } |
43 } |
52 |
44 |