Skip to content

Instantly share code, notes, and snippets.

@0q98ahdsg3987y1h987y
0q98ahdsg3987y1h987y / example.com-ssl.conf
Created May 9, 2020 13:56
socket io + apache2 config
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName example.com
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/socket.io [NC]