[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-10-27 11:18:27
This commit is contained in:
parent
6a135eb28a
commit
6f905b73c1
|
|
@ -163,6 +163,27 @@ server {
|
||||||
gzip_static on;
|
gzip_static on;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ ^/(remote\.php/(webdav|dav)|ocs/v[12]\.php/apps/forms/api/.*/submissions/files/.*) {
|
||||||
|
proxy_pass http://nextcloud_backend;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Connection "";
|
||||||
|
|
||||||
|
# Desabilita o buffering para streaming de arquivos
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_request_buffering off;
|
||||||
|
|
||||||
|
# Timeouts longos para uploads/downloads
|
||||||
|
proxy_connect_timeout 60s;
|
||||||
|
proxy_read_timeout 1200s;
|
||||||
|
proxy_send_timeout 1200s;
|
||||||
|
}
|
||||||
|
|
||||||
location = /ocs/v2.php/apps/recommendations/api/v1/recommendations {
|
location = /ocs/v2.php/apps/recommendations/api/v1/recommendations {
|
||||||
proxy_pass http://nextcloud_backend;
|
proxy_pass http://nextcloud_backend;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue