Activepieces behind the reverse proxy reddit / selfhosted ---------------------------------------------------------------------- mihha17 · 2023-12-14 07:28 Hi everyone! I have a problem with **activepieces** ([https://github.com/activepie ces/activepieces](https://github.com/activepieces/activepieces)) and implementation of Apache reverse proxy They provide explanation if Nginx is used as reverse proxy ([https://www.activepieces.com/docs/install/setup-ssl#setup- nginx](https://www.activepieces.com/docs/install/setup-ssl#setup- nginx)) I am using Apache web server as my reverse proxy and I have tried to convert Nginx parameters to Apache like this **Nginx** proxy_pass http://localhost:8080; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; **Apache** RewriteEngine on RewriteCond %{HTTP:Connection} Upgrade [NC] RewriteCond %{HTTP:Upgrade} websocket [NC] RewriteRule /(.*) ws://127.0.0.1:28080/$1 [P,L] ProxyPreserveHost On ProxyPass / http://localhost:28080/ flushpackets=on ProxyPassReverse / http://localhost:28080/ allow from all ProxyRequests Off I can access activepieces backend, but if I add some (for example) trigger to the Flow, I get this in the browser error console ​ [Errors in the browser console](https://preview.redd.it/40iwy441q76c1. png?width=1401&format=png&auto=webp&s=4546e04a76218c90aa7b1408ed78f267 4a7900a5) I would say that something is missing in the reverse proxy configuration, but can't figure out what exactly Any help would be appreciated! Thank you all in advance! ​ ---------------------------------------------------------------------- revereddesecration · 2023-12-14 07:54 So, to confirm, you set up the TLS cert? I can’t see you specifying it in your Apache config. ---------------------------------------------------------------------- mihha17 · 2023-12-14 08:13 Hi, Yes, of course The apache configuration is an extract of the complete virtual host configuration, which is defined for the HTTPS version of virtual host. All HTTP requests are also redirected to the HTTPS ---------------------------------------------------------------------- thekrautboy · 2023-12-14 13:29 Why not ask on the activepieces Github? ---------------------------------------------------------------------- mihha17 · 2023-12-17 20:37 I did. Seems like they are not very good with Apache reverse proxy configuration