[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-11-11 00:58:16
This commit is contained in:
parent
8e849d09a1
commit
cdea64484f
|
|
@ -168,31 +168,30 @@ server {
|
|||
|
||||
proxy_hide_header "Cache-Control";
|
||||
proxy_hide_header "Expires";
|
||||
proxy_hide_header "Pragma";
|
||||
brotli_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;
|
||||
#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 "";
|
||||
|
||||
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;
|
||||
}
|
||||
# # 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 {
|
||||
proxy_pass http://nextcloud_backend;
|
||||
|
|
|
|||
Loading…
Reference in New Issue