Skip to content

Instantly share code, notes, and snippets.

View leoneckert's full-sized avatar
🕳️

Leon Eckert leoneckert

🕳️
View GitHub Profile
@leoneckert
leoneckert / socket.io-1-0-apache-2.4-ssl.conf
Created February 2, 2020 12:50 — forked from iacchus/socket.io-1-0-apache-2.4-ssl.conf
Set reverse proxy websockets in Apache 2.4 using socket.io 1.0. Needs mod_rewrite module, this version uses SSL. As seen here https://serverfault.com/questions/616370/configuring-apache-2-4-mod-proxy-wstunnel-for-socket-io-1-0
<VirtualHost *:80>
ServerName forum.example.com
Redirect permanent / https://forum.example.com
</VirtualHost>
<VirtualHost *:443>
ServerName forum.example.com