Skip to content

Apache reverse proxy #39

@gusarg81

Description

@gusarg81

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions