forked from extern/egroupware
* Nginx: fix upload of pictures bigger 1MB fails
This commit is contained in:
parent
0fb26c6cb1
commit
40993d023d
@ -1,5 +1,9 @@
|
|||||||
# /etc/nginx/sites-available/egroupware-nginx.conf
|
# /etc/nginx/sites-available/egroupware-nginx.conf
|
||||||
# need to be symlinked to /etc/nginx/sites-enabled/ and nginx -s reload (after removing default!)
|
# need to be symlinked to /etc/nginx/sites-enabled/ and nginx -s reload (after removing default!)
|
||||||
|
|
||||||
|
# stuff for http block
|
||||||
|
client_max_body_size 1g;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
|
|
||||||
@ -25,6 +29,9 @@ server {
|
|||||||
# include other EGroupware parts like Collabora
|
# include other EGroupware parts like Collabora
|
||||||
include app.d/egroupware*.conf;
|
include app.d/egroupware*.conf;
|
||||||
|
|
||||||
|
# other settings
|
||||||
|
client_max_body_size 65M;
|
||||||
|
|
||||||
# EGroupware installed in /usr/share/egroupware
|
# EGroupware installed in /usr/share/egroupware
|
||||||
location ^~ /egroupware {
|
location ^~ /egroupware {
|
||||||
alias /usr/share/egroupware/;
|
alias /usr/share/egroupware/;
|
||||||
|
Loading…
Reference in New Issue
Block a user