mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* Nginx: fix upload of pictures bigger 1MB fails
This commit is contained in:
parent
65b2588d65
commit
98b2f3f4d3
@ -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