Created
April 6, 2020 02:20
-
-
Save merylldindin/635dfcd6fda11487b43b9a914b00fced to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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