[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-09-22 12:42:56

This commit is contained in:
srvproxy001.itguys.com.br 2025-09-22 12:42:56 -03:00
parent 3400fa13b1
commit 531e0f8019
1 changed files with 7 additions and 15 deletions

View File

@ -143,24 +143,16 @@ server {
include /etc/nginx/snippets/websocket_params.conf; include /etc/nginx/snippets/websocket_params.conf;
} }
# Novas rotas para os editores (Word, Excel, PowerPoint) # Rotas dos editores e websockets.
location ^~ /we/ { # Estas precisam que o caminho original seja passado integralmente.
proxy_pass http://office_backend/; location ~ ^/(op|we|wv|p|x)/ {
proxy_set_header Host $host; include /etc/nginx/snippets/modsec_disable.conf;
} proxy_pass http://office_backend;
location ^~ /wv/ {
proxy_pass http://office_backend/;
proxy_set_header Host $host;
}
location ^~ /p/ {
proxy_pass http://office_backend/;
proxy_set_header Host $host;
}
location ^~ /x/ {
proxy_pass http://office_backend/;
proxy_set_header Host $host; proxy_set_header Host $host;
include /etc/nginx/snippets/websocket_params.conf; # Garante WebSocket para todos
} }
# H.2. Rota Principal da Aplicação Nextcloud # H.2. Rota Principal da Aplicação Nextcloud
location / { location / {
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------