Commit c040074d authored by Marc Duez's avatar Marc Duez

install nginx : url /browser redirect to /browser/index.html

max file size = 2048mo (1024mo before)
parent e3e6b90c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment