mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
max_body_size to enable upload of files
This commit is contained in:
parent
a6df70c6a0
commit
4407bb991d
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
|
||||
# Set max upload size
|
||||
client_max_body_size 50m;
|
||||
|
||||
proxy_pass http://localhost:__PORT__; # The port must match the value of SHARELATEX_PORT.
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
|
@ -29,6 +32,10 @@ location __PATH__/socket.io/ {
|
|||
}
|
||||
|
||||
location __PATH__/stylesheets/ {
|
||||
|
||||
# Set max upload size
|
||||
client_max_body_size 50m;
|
||||
|
||||
alias __INSTALL_DIR__/live/services/web/public/stylesheets/;
|
||||
expires 1y;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue