From c040074d1387aa8a0e0a79dbb59c373aea82b63c Mon Sep 17 00:00:00 2001 From: Marc Duez Date: Thu, 11 Sep 2014 18:00:01 +0200 Subject: [PATCH] install nginx : url /browser redirect to /browser/index.html max file size = 2048mo (1024mo before) --- server/nginx_install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/nginx_install.sh b/server/nginx_install.sh index c010ecefe..c8a699984 100644 --- a/server/nginx_install.sh +++ b/server/nginx_install.sh @@ -65,7 +65,7 @@ echo "server { listen 80; server_name \$hostname; - location /browser/ { + location /browser { root $CWD/../browser/; expires max; } @@ -96,7 +96,7 @@ echo "server { include /etc/nginx/conf.d/web2py/gzip.conf; ### end gzip section - client_max_body_size 1024m; + client_max_body_size 2048m; } location /cgi/ { @@ -134,7 +134,7 @@ server { ### end gzip section ### remove the comments if you want to enable uploads (max 10 MB) - client_max_body_size 1024m; + client_max_body_size 2048m; ### } ## if you serve static files through https, copy here the section -- GitLab