docker-taiga / taiga

docker-compose.yml for simple taiga setup
218 stars 74 forks source link

Apache reverse proxy #39

Open gusarg81 opened 4 years ago

gusarg81 commented 4 years ago

Hi,

Can someone point me out how to configure reverse proxy in apache? Seems I am having problems with ws sockets:

app.js:3267 WebSocket connection to 'ws://127.0.0.1:880/events/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

My apache settings:

ProxyPreserveHost On
ProxyPass         / http://127.0.0.1:880/
ProxyPassReverse  / http://127.0.0.1:880/
ProxyPass         /events ws://127.0.0.1:880/events

NOTE: 880 is the port assigned in docker-compose.yml (ports: - 880:80)

Currently running in OS Ubuntu 18.04.

Thanks.