Skip to content

Instantly share code, notes, and snippets.

@saidach
Created December 21, 2017 23:21
Show Gist options
  • Save saidach/0df67c36601d35bf398e2546bc05bf11 to your computer and use it in GitHub Desktop.
Save saidach/0df67c36601d35bf398e2546bc05bf11 to your computer and use it in GitHub Desktop.
files:
"/etc/httpd/conf.d/proxy-pass.conf":
mode: 000644
owner: root
group: root
content: |
<Location /socket>
ProxyPass ws://127.0.0.1:8081/
ProxyPassReverse ws://127.0.0.1:8081/
</Location>
"/etc/httpd/conf.modules.d/99-mod_proxy_wstunnel.conf":
mode: 000644
owner: root
group: root
content: |
<IfDefine PROXY>
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
</IfDefine>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment