[GH-ISSUE #256] No content for reverse proxy #164

Closed
opened 2026-03-03 16:05:45 +03:00 by kerem · 1 comment
Owner

Originally created by @CrysK on GitHub (Aug 8, 2023).
Original GitHub issue: https://github.com/mthenw/frontail/issues/256

Hello all,

I have set up frontail in docker. When I call the internal IP with port, then the web page appears without error.
If I forward this page via reverse proxy, the page appears but the content is empty.

The debugger displays:

Firefox cannot connect to the server at wss:/example.com/socket.io/?EIO=3&transport=websocket.
GET wss://example.com/socket.io/?EIO=3&transport=websocket
Status is: blocked

What's going wrong?

Here are my settings:

docker-compose.yml:

version: '3.9'

services:
  frontail:
    image: mthenw/frontail:4.9.2
    container_name: frontail
    restart: unless-stopped
    volumes:
      - /var/log:/log:ro
    ports:
      - 8093:9001
    command: >
      /log/syslog

/etc/apache2/sites-available/030-frontail.conf:

<VirtualHost *:80>
	ServerName example.com
	ProxyPreserveHost On
	ProxyPass / http://127.0.0.1:8093/
	ProxyPassReverse / http://127.0.0.1:8093/
</VirtualHost>

Thanks a lot

Originally created by @CrysK on GitHub (Aug 8, 2023). Original GitHub issue: https://github.com/mthenw/frontail/issues/256 Hello all, I have set up frontail in docker. When I call the internal IP with port, then the web page appears without error. If I forward this page via reverse proxy, the page appears but the content is empty. The debugger displays: `Firefox cannot connect to the server at wss:/example.com/socket.io/?EIO=3&transport=websocket.` `GET wss://example.com/socket.io/?EIO=3&transport=websocket` Status is: `blocked` What's going wrong? Here are my settings: `docker-compose.yml`: ``` version: '3.9' services: frontail: image: mthenw/frontail:4.9.2 container_name: frontail restart: unless-stopped volumes: - /var/log:/log:ro ports: - 8093:9001 command: > /log/syslog ``` `/etc/apache2/sites-available/030-frontail.conf`: ``` <VirtualHost *:80> ServerName example.com ProxyPreserveHost On ProxyPass / http://127.0.0.1:8093/ ProxyPassReverse / http://127.0.0.1:8093/ </VirtualHost> ``` Thanks a lot
kerem closed this issue 2026-03-03 16:05:45 +03:00
Author
Owner

@CrysK commented on GitHub (Aug 8, 2023):

<VirtualHost *:80>
	ServerName example.com
	ProxyPreserveHost On
	ProxyPass / ws://127.0.0.1:8093/
	ProxyPassReverse / ws://127.0.0.1:8093/
</VirtualHost>

Same for :443

<!-- gh-comment-id:1670325937 --> @CrysK commented on GitHub (Aug 8, 2023): ``` <VirtualHost *:80> ServerName example.com ProxyPreserveHost On ProxyPass / ws://127.0.0.1:8093/ ProxyPassReverse / ws://127.0.0.1:8093/ </VirtualHost> ``` Same for :443
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#164
No description provided.