feat(ops): Aumento de límites de subida a 10GB en APPs y Nginx proxy
This commit is contained in:
@@ -9,5 +9,6 @@ services:
|
|||||||
- /mnt/ns8Disco2/DTIC_APPs/:/var/www/html/data
|
- /mnt/ns8Disco2/DTIC_APPs/:/var/www/html/data
|
||||||
- ./index.php:/var/www/html/index.php
|
- ./index.php:/var/www/html/index.php
|
||||||
- ./translation.json:/var/www/html/translation.json
|
- ./translation.json:/var/www/html/translation.json
|
||||||
|
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
|
||||||
# Persist config if needed, or mount specific config.php
|
# Persist config if needed, or mount specific config.php
|
||||||
# - ./config.php:/var/www/html/config.php
|
# - ./config.php:/var/www/html/config.php
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
upload_max_filesize = 10G
|
||||||
|
post_max_size = 10G
|
||||||
|
memory_limit = 1024M
|
||||||
|
max_execution_time = 3600
|
||||||
|
max_input_time = 3600
|
||||||
@@ -49,6 +49,7 @@ server {
|
|||||||
|
|
||||||
# APPs (TinyFileManager)
|
# APPs (TinyFileManager)
|
||||||
location /apps/ {
|
location /apps/ {
|
||||||
|
client_max_body_size 20G;
|
||||||
proxy_pass http://127.0.0.1:8082/;
|
proxy_pass http://127.0.0.1:8082/;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
@@ -73,6 +74,7 @@ server {
|
|||||||
server_name ns8.frlr.utn.edu.ar 100.88.252.26 190.114.205.18 srvns8.tail982245.ts.net 10.0.10.8;
|
server_name ns8.frlr.utn.edu.ar 100.88.252.26 190.114.205.18 srvns8.tail982245.ts.net 10.0.10.8;
|
||||||
|
|
||||||
location /apps/ {
|
location /apps/ {
|
||||||
|
client_max_body_size 20G;
|
||||||
proxy_pass http://127.0.0.1:8082/;
|
proxy_pass http://127.0.0.1:8082/;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|||||||
Reference in New Issue
Block a user