[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-10-02 00:30:54

This commit is contained in:
srvproxy001.itguys.com.br 2025-10-02 00:30:54 -03:00
parent a336fbe39b
commit c71225729d
1 changed files with 26 additions and 0 deletions

View File

@ -93,6 +93,32 @@ server {
location = /.well-known/carddav { return 301 /remote.php/dav; }
location = /.well-known/caldav { return 301 /remote.php/dav; }
location ^~ /core {
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_cache nextcloud_cache;
proxy_cache_valid 200 30d;
proxy_cache_valid any 1m;
more_set_headers 'Cache-Control: public, max-age=31536000, immutable';
proxy_hide_header "Expires";
proxy_hide_header "Pragma";
}
location ^~ /dist {
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_cache nextcloud_cache;
proxy_cache_valid 200 30d;
proxy_cache_valid any 1m;
more_set_headers 'Cache-Control: public, max-age=31536000, immutable';
proxy_hide_header "Expires";
proxy_hide_header "Pragma";
}
location ~ ^/(m|x|we|o|p|wv|op|wd|rtc|rtc2|layouts|view)/ {
proxy_pass http://officeonline_backend;
proxy_set_header Host "srvoffice001.itguys.com.br";