fix: resolve Mixed Content (Failed to fetch) in hosted HTTPS environment via /api-wpp reverse proxy

This commit is contained in:
2026-10-15 13:08:16 -03:00
parent bdb781ed01
commit 91eedc220b
6 changed files with 212 additions and 96 deletions
+6
View File
@@ -0,0 +1,6 @@
# Proxy reverso para a API WPPConnect
# Permite que aplicações hospedadas em HTTPS façam chamadas para o servidor HTTP :22700 sem bloqueio de Mixed Content
/api-wpp/* http://www.c2wpp.c2sistemas.com.br:22700/:splat 200!
# SPA Fallback (Single Page Application - React Router / Vite)
/* /index.html 200