[GH-ISSUE #160] Apache2 reverse proxy ws? #130

Closed
opened 2026-05-07 00:20:23 +02:00 by BreizhHardware · 1 comment

Originally created by @scriptzteam on GitHub (Mar 13, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/160

Hi, everything works great (web) but i can get it works with apache2 reverse proxy - ws.
IP is behind cloudflare also
Any hint what can be wrong?

<VirtualHost *:80>
    ServerName ntfy.someserver.blabla
    ProxyPass / http://127.0.0.1:1234/
    ProxyPassReverse / http://127.0.0.1:1234/

    ProxyPass / ws://127.0.0.1:1234/
    ProxyPassReverse / ws://127.0.0.1:1234/
</VirtualHost>
Originally created by @scriptzteam on GitHub (Mar 13, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/160 Hi, everything works great (web) but i can get it works with apache2 reverse proxy - ws. IP is behind cloudflare also Any hint what can be wrong? ``` <VirtualHost *:80> ServerName ntfy.someserver.blabla ProxyPass / http://127.0.0.1:1234/ ProxyPassReverse / http://127.0.0.1:1234/ ProxyPass / ws://127.0.0.1:1234/ ProxyPassReverse / ws://127.0.0.1:1234/ </VirtualHost> ```
Author
Owner

@binwiederhier commented on GitHub (Mar 13, 2022):

What was it? Is there something missing in the docs?

<!-- gh-comment-id:1066082242 --> @binwiederhier commented on GitHub (Mar 13, 2022): What was it? Is there something missing in the docs?
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/ntfy#130
No description provided.