1
0
Fork 0
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:
Thomas 2024-02-20 13:51:00 +01:00 committed by GitHub
parent a6df70c6a0
commit 4407bb991d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}