Skip to content

Instantly share code, notes, and snippets.

@merylldindin
Created January 17, 2020 22:23
Show Gist options
  • Save merylldindin/5f941431c1378c0e6f891b1fcec4334c to your computer and use it in GitHub Desktop.
Save merylldindin/5f941431c1378c0e6f891b1fcec4334c to your computer and use it in GitHub Desktop.
files:
"/etc/httpd/conf.d/wsgi_custom.conf":
mode: "000644"
owner: root
group: root
content: |
WSGIApplicationGroup %{GLOBAL}
"/etc/httpd/conf.d/proxy-pass.conf":
mode: "000644"
owner: root
group: root
content: |
ProxyPass /ws/ ws://0.0.0.0:8000/
ProxyPassReverse /ws/ ws://0.0.0.0:8000/
"/etc/httpd/conf.modules.d/99-mod_proxy_wstunnel.conf":
mode: "000644"
owner: root
group: root
content: |
<IfModule !proxy_wstunnel_module>
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment