Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created November 26, 2017 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/eb5f33295282296d1627f9c149f991d2 to your computer and use it in GitHub Desktop.
Save zoffixznet/eb5f33295282296d1627f9c149f991d2 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ErrorLog ${APACHE_LOG_DIR}/error.<REDACTED>.ca.log
ServerName <REDACTED>.ca
ServerAlias www.<REDACTED>.ca
<Proxy *>
Require all granted
</Proxy>
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /echo ws://localhost:4007/echo
ProxyPass / http://localhost:4007/ keepalive=On
ProxyPassReverse / http://localhost:4007/
RequestHeader set X-Forwarded-Proto "http"
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment