Skip to content

Instantly share code, notes, and snippets.

@merylldindin
Created April 6, 2020 02:20
Show Gist options
  • Save merylldindin/635dfcd6fda11487b43b9a914b00fced to your computer and use it in GitHub Desktop.
Save merylldindin/635dfcd6fda11487b43b9a914b00fced 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:5000/
ProxyPassReverse /ws/ ws://0.0.0.0:5000/
"/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